1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +00:00
This commit is contained in:
Otto Winter 2019-03-30 11:45:55 +01:00
parent c6e2e1dfa0
commit f74b30e3f4
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
2 changed files with 1 additions and 4 deletions

View File

@ -86,10 +86,6 @@ CLIMATE_CONTROL_ACTION_SCHEMA = cv.Schema({
def climate_control_to_code(config, action_id, template_arg, args):
for var in get_variable(config[CONF_ID]):
yield None
rhs = var.make_control_action(template_arg)
type = ControlAction.template(template_arg)
yield Pvariable(action_id, rhs, type=type)
rhs = var.make_control_action(template_arg)
type = ControlAction.template(template_arg)
action = Pvariable(action_id, rhs, type=type)

View File

@ -62,4 +62,5 @@ def to_code(config):
)
add(control.set_away_config(away_config))
BUILD_FLAGS = '-DUSE_BANG_BANG_CLIMATE'