mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +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):
|
||||
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)
|
||||
|
@ -62,4 +62,5 @@ def to_code(config):
|
||||
)
|
||||
add(control.set_away_config(away_config))
|
||||
|
||||
|
||||
BUILD_FLAGS = '-DUSE_BANG_BANG_CLIMATE'
|
||||
|
Loading…
x
Reference in New Issue
Block a user