mqtt: switch: - unique_id: "Garage_Entry_Switch_1" name: "Garage Entry Switch 1" state_topic: "obk/obk-ks811t-006D-garageentry/1/get" command_topic: "obk/obk-ks811t-006D-garageentry/1/set" qos: 1 payload_on: 1 payload_off: 0 retain: true availability: - topic: "obk/obk-ks811t-006D-garageentry/connected" - unique_id: "Garage_Entry_Switch_2" name: "Garage Entry Switch 2" state_topic: "obk/obk-ks811t-006D-garageentry/2/get" command_topic: "obk/obk-ks811t-006D-garageentry/2/set" qos: 1 payload_on: 1 payload_off: 0 retain: true availability: - topic: "obk/obk-ks811t-006D-garageentry/connected" - unique_id: "Garage_Entry_Switch_3" name: "Garage Entry Switch 3" state_topic: "obk/obk-ks811t-006D-garageentry/3/get" command_topic: "obk/obk-ks811t-006D-garageentry/3/set" qos: 1 payload_on: 1 payload_off: 0 retain: true availability: - topic: "obk/obk-ks811t-006D-garageentry/connected" # - unique_id: "Main_Bathroom_Light_Switch_1" # name: "Main Bathroom Light Switch 1" # state_topic: "obk/obk-ks811t-B1C4-mainbath1/1/get" # command_topic: "obk/obk-ks811t-B1C4-mainbath1/1/set" # qos: 1 # payload_on: 1 # payload_off: 0 # retain: true # availability: # - topic: "obk/obk-ks811t-B1C4-mainbath1/connected" # - unique_id: "Main_Bathroom_Light_Switch_2" # name: "Main Bathroom Light Switch 2" # state_topic: "obk/obk-ks811t-B1C4-mainbath1/2/get" # command_topic: "obk/obk-ks811t-B1C4-mainbath1/2/set" # qos: 1 # payload_on: 1 # payload_off: 0 # retain: true # availability: # - topic: "obk/obk-ks811t-B1C4-mainbath1/connected" # - unique_id: "Main_Bathroom_Light_Switch_3" # name: "Main Bathroom Light Switch 3" # state_topic: "obk/obk-ks811t-B1C4-mainbath1/3/get" # command_topic: "obk/obk-ks811t-B1C4-mainbath1/3/set" # qos: 1 # payload_on: 1 # payload_off: 0 # retain: true # availability: # - topic: "obk/obk-ks811t-B1C4-mainbath1/connected"