1
0
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:
dgtal1
2021-09-08 05:15:57 +02:00
committed by GitHub
parent dba502c756
commit b0533db2eb
4 changed files with 32 additions and 0 deletions

View File

@@ -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