MQTT AD text sensor

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
redswan
Posts: 15
Joined: Monday 23 October 2017 17:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11535
Contact:

MQTT AD text sensor

Post by redswan »

Hello,
Does the Domoticz implementation of MQTT AD allow for the creation of text sensors? If so what is the device class needed in the config topic?
Thanks for any suggestions.
User avatar
waltervl
Posts: 5397
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: MQTT AD text sensor

Post by waltervl »

The "unit_of_measurement" should be "text", device class can be "None"
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
redswan
Posts: 15
Joined: Monday 23 October 2017 17:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11535
Contact:

Re: MQTT AD text sensor

Post by redswan »

Thanks, that works fine.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests