mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
mqtt switch controls a switch, not a light. (#1435)
This commit is contained in:
parent
5730af01ed
commit
b68d5b713f
@ -13,7 +13,7 @@ ha_release: 0.7
|
||||
ha_iot_class: depends
|
||||
---
|
||||
|
||||
The `mqtt` switch platform let you control your MQTT enabled light.
|
||||
The `mqtt` switch platform let you control your MQTT enabled switch.
|
||||
|
||||
In an ideal scenario, the MQTT device will have a state topic to publish state changes. If these messages are published with RETAIN flag, the MQTT switch will receive an instant state update after subscription and will start with correct state. Otherwise, the initial state of the switch will be false/off.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user