---

- unique_id: bedroom_switch
  name: "Bedroom Switch"
  state_topic: "home/bedroom/switch1"
  command_topic: "home/bedroom/switch1/set"
  availability:
    - topic: "home/bedroom/switch1/available"
      payload_not_available: "offline"
      payload_available: "online"
  payload_on: "ON"
  payload_off: "OFF"
  state_on: "ON"
  state_off: "OFF"
  optimistic: false
  qos: 0
  retain: true
