mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Add new trigger to fan component on_speed_set (#2246)
This commit is contained in:
@@ -1881,6 +1881,9 @@ fan:
|
||||
oscillation_command_topic: oscillation/command/topic
|
||||
speed_state_topic: speed/state/topic
|
||||
speed_command_topic: speed/command/topic
|
||||
on_speed_set:
|
||||
then:
|
||||
- logger.log: "Fan speed was changed!"
|
||||
|
||||
interval:
|
||||
- interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user