mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
Merge remote-tracking branch 'upstream/dev' into integration
This commit is contained in:
@@ -91,6 +91,7 @@ button:
|
||||
- platform: template
|
||||
name: "Template Button"
|
||||
state_topic: some/topic/button
|
||||
command_topic: !lambda return "some/topic/button/command";
|
||||
qos: 2
|
||||
on_press:
|
||||
- mqtt.disable
|
||||
@@ -295,7 +296,7 @@ event:
|
||||
fan:
|
||||
- platform: template
|
||||
name: Template Fan
|
||||
state_topic: some/topic/fan
|
||||
state_topic: !lambda return "some/topic/fan";
|
||||
direction_state_topic: some/topic/direction/state
|
||||
direction_command_topic: some/topic/direction/command
|
||||
qos: 2
|
||||
|
||||
Reference in New Issue
Block a user