diff --git a/esphome/components/light/fastled_clockless.py b/esphome/components/light/fastled_clockless.py index 4380e00993..5e46083c3c 100644 --- a/esphome/components/light/fastled_clockless.py +++ b/esphome/components/light/fastled_clockless.py @@ -107,8 +107,6 @@ REQUIRED_BUILD_FLAGS = '-DUSE_FAST_LED_LIGHT' LIB_DEPS = 'FastLED@3.2.0' -LIB_DEPS = 'FastLED@3.2.0' - def to_hass_config(data, config): return light.core_to_hass_config(data, config, brightness=True, rgb=True, color_temp=False, diff --git a/esphome/components/light/fastled_spi.py b/esphome/components/light/fastled_spi.py index 43ecfe4209..49be646d9a 100644 --- a/esphome/components/light/fastled_spi.py +++ b/esphome/components/light/fastled_spi.py @@ -87,8 +87,6 @@ REQUIRED_BUILD_FLAGS = '-DUSE_FAST_LED_LIGHT' LIB_DEPS = 'FastLED@3.2.0' -LIB_DEPS = 'FastLED@3.2.0' - def to_hass_config(data, config): return light.core_to_hass_config(data, config, brightness=True, rgb=True, color_temp=False, diff --git a/esphome/components/sensor/__init__.py b/esphome/components/sensor/__init__.py index 3ec49b3728..0ade5e1de7 100644 --- a/esphome/components/sensor/__init__.py +++ b/esphome/components/sensor/__init__.py @@ -231,30 +231,6 @@ SENSOR_IN_RANGE_CONDITION_SCHEMA = vol.All({ }, cv.has_at_least_one_key(CONF_ABOVE, CONF_BELOW)) -@CONDITION_REGISTRY.register(CONF_SENSOR_IN_RANGE, SENSOR_IN_RANGE_CONDITION_SCHEMA) -def sensor_in_range_to_code(config, condition_id, arg_type, template_arg): - for var in get_variable(config[CONF_ID]): - yield None - rhs = var.make_sensor_in_range_condition(template_arg) - type = SensorInRangeCondition.template(arg_type) - cond = Pvariable(condition_id, rhs, type=type) - - if CONF_ABOVE in config: - add(cond.set_min(config[CONF_ABOVE])) - if CONF_BELOW in config: - add(cond.set_max(config[CONF_BELOW])) - - yield cond - - -CONF_SENSOR_IN_RANGE = 'sensor.in_range' -SENSOR_IN_RANGE_CONDITION_SCHEMA = vol.All({ - vol.Required(CONF_ID): cv.use_variable_id(Sensor), - vol.Optional(CONF_ABOVE): cv.float_, - vol.Optional(CONF_BELOW): cv.float_, -}, cv.has_at_least_one_key(CONF_ABOVE, CONF_BELOW)) - - @CONDITION_REGISTRY.register(CONF_SENSOR_IN_RANGE, SENSOR_IN_RANGE_CONDITION_SCHEMA) def sensor_in_range_to_code(config, condition_id, arg_type, template_arg): for var in get_variable(config[CONF_ID]): diff --git a/esphome/const.py b/esphome/const.py index ead8cf05c4..e9f85be697 100644 --- a/esphome/const.py +++ b/esphome/const.py @@ -2,10 +2,10 @@ MAJOR_VERSION = 1 MINOR_VERSION = 11 -PATCH_VERSION = '0b3' +PATCH_VERSION = '0' __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) -ESPHOME_CORE_VERSION = '1.11.0b3' +ESPHOME_CORE_VERSION = '1.11.0' ESP_PLATFORM_ESP32 = 'ESP32' ESP_PLATFORM_ESP8266 = 'ESP8266' diff --git a/tests/test2.yaml b/tests/test2.yaml index 2678bb4223..9cb3e19933 100644 --- a/tests/test2.yaml +++ b/tests/test2.yaml @@ -27,8 +27,6 @@ ethernet: api: -api: - i2c: sda: 21 scl: 22