mirror of
https://github.com/esphome/esphome.git
synced 2024-09-27 04:03:30 +02:00
Update esphome/components/output/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
cfbee5956a
commit
4e7b015783
@ -64,9 +64,7 @@ async def setup_output_platform_(obj, config):
|
||||
cg.add(obj.set_min_power(config[CONF_MIN_POWER]))
|
||||
if CONF_ZERO_MEANS_ZERO in config:
|
||||
cg.add(obj.set_zero_means_zero(config[CONF_ZERO_MEANS_ZERO]))
|
||||
if CONF_MIN_TURN_ON_POWER in config:
|
||||
cg.add(obj.set_min_turn_on_power(config[CONF_MIN_TURN_ON_POWER]))
|
||||
if CONF_MIN_TURN_ON_POWER_DELAY in config:
|
||||
cg.add(obj.set_min_turn_on_power_delay(config[CONF_MIN_TURN_ON_POWER_DELAY]))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user