mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
MQTT: fan direction control added (#8022)
Co-authored-by: Mateusz Bronk <mbronk@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -293,6 +293,8 @@ fan:
|
||||
- platform: template
|
||||
name: Template Fan
|
||||
state_topic: some/topic/fan
|
||||
direction_state_topic: some/topic/direction/state
|
||||
direction_command_topic: some/topic/direction/command
|
||||
qos: 2
|
||||
on_state:
|
||||
- logger.log: on_state
|
||||
|
Reference in New Issue
Block a user