mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Fixes
This commit is contained in:
parent
c6e2e1dfa0
commit
f74b30e3f4
@ -86,10 +86,6 @@ CLIMATE_CONTROL_ACTION_SCHEMA = cv.Schema({
|
|||||||
def climate_control_to_code(config, action_id, template_arg, args):
|
def climate_control_to_code(config, action_id, template_arg, args):
|
||||||
for var in get_variable(config[CONF_ID]):
|
for var in get_variable(config[CONF_ID]):
|
||||||
yield None
|
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)
|
rhs = var.make_control_action(template_arg)
|
||||||
type = ControlAction.template(template_arg)
|
type = ControlAction.template(template_arg)
|
||||||
action = Pvariable(action_id, rhs, type=type)
|
action = Pvariable(action_id, rhs, type=type)
|
||||||
|
@ -62,4 +62,5 @@ def to_code(config):
|
|||||||
)
|
)
|
||||||
add(control.set_away_config(away_config))
|
add(control.set_away_config(away_config))
|
||||||
|
|
||||||
|
|
||||||
BUILD_FLAGS = '-DUSE_BANG_BANG_CLIMATE'
|
BUILD_FLAGS = '-DUSE_BANG_BANG_CLIMATE'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user