switch:
- platform: mqtt
name: livingroom_main
state_topic: hassmart/switch/hassmart_2key_module_XXXXXX_1/state
command_topic: hassmart/switch/hassmart_2key_module_XXXXXX_1/set
qos: 1
retain: false
- platform: mqtt
name: aisle
state_topic: hassmart/switch/hassmart_2key_module_XXXXXX_2/state
command_topic: hassmart/switch/hassmart_2key_module_XXXXXX_2/set
qos: 1
retain: false
|