binary_sensor: - platform: mqtt name: doorbell state_topic: "stat/doorbell/BUTTON" payload_on: "ON" payload_off: "OFF" qos: 2