1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 22:53:59 +00:00

Improve API naming convention consistency (#197)

* Improve API naming convention consistency

* Fix
This commit is contained in:
Otto Winter
2018-10-20 15:16:58 +02:00
committed by GitHub
parent 7a55521807
commit 25c66ed8ca
5 changed files with 22 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ def to_code(config):
fan_struct = variable(config[CONF_MAKE_ID], rhs)
if CONF_SPEED in config:
speeds = config[CONF_SPEED]
add(fan_struct.Poutput.set_speed(output, 0.0,
add(fan_struct.Poutput.set_speed(output,
speeds[CONF_LOW],
speeds[CONF_MEDIUM],
speeds[CONF_HIGH]))