Binary_sensor in MQTT? With the removal of platform: mqtt, isn't that possible any longer?

I have a binary sensor set up in MQTT, but I can’t move it to the new sensor under MQTT, I just get an error in the log.
So isn’t it possible to have binary sensors any longer?

I have binary_sensor: defined under my mqtt.yaml file with no issues.

Example

#binary sensors, blue iris camera motion
  binary_sensor:
    - name: "Kitchen Motion"
      unique_id: BICam-Kitchen
      device_class: motion
      state_topic: "BlueIris/Kitchen"
      payload_on: "ON"
      off_delay: 30

1 Like

Hmm, that’s weird, I wonder if it’s the unique_id, I haven’t set that, I’ll try again…

Hmm, I wonder why, but now it works, I even tried only having the state_topic, that should be enough according to the docs, oh well, thankyou @MoridinTX !