MQTT device availability disabled

  • Core 2024.2.3
  • Supervisor 2024.02.0
  • Operating System 11.5
    Rpi 4
    Trying to install first device in MQTT, a Tuya Presence sensor. I do not know how to enable the Availability.

Not MQTT, Zigbee2MQTT - that’s a rather important difference :wink:

The answer is to turn it on. You can also do that in the UI:

Sorry, I am a beginner. Thank you for the UI for Availability. When I enabled it, the Availability shows as Online, rather than Disabled.

How do I now get this device to show in Settings>Devices and services>Devices?

{“availability”:[{“topic”:“zigbee2mqtt/bridge/state”},{“topic”:“zigbee2mqtt/Presence/availability”}],“availability_mode”:“all”,“device”:{“identifiers”:[“zigbee2mqtt_0xa4c1381b956259d6”],“manufacturer”:“TuYa”,“model”:“5.8Ghz Human presence sensor (ZG-205Z/A)”,“name”:“Presence”,“sw_version”:“0122052017”,“via_device”:“zigbee2mqtt_bridge_0x00124b00257ccc6f”},“device_class”:“presence”,“json_attributes_topic”:“zigbee2mqtt/Presence”,“object_id”:“presence_presence”,“origin”:{“name”:“Zigbee2MQTT”,“sw”:“1.35.3”,“url”:“https://www.zigbee2mqtt.io”},“payload_off”:false,“payload_on”:true,“state_topic”:“zigbee2mqtt/Presence”,“unique_id”:“0xa4c1381b956259d6_presence_zigbee2mqtt”,“value_template”:“{{ value_json.presence }}”}

Check your HA log file.