Hi!
I own a Zipato zipabox zwave controller and I’m setting up home assistant to gradually migrate and abandon zipato.
I built my home assistant setup on rpi4, ubuntu 64bit and supervised home assistant on docker, with mqtt integration.
I activated MQTT on zipato zipabox, that correctly send attributes value, but only on attribute’s changes and without retain (and I can’t modify that)
this is one of the entity I configured as a switch:
- platform: mqtt
name: Luce Notte Asia
icon: mdi:weather-night
state_topic: zipato/zipabox/attributes/xxxxxxxx-951f-46cb-8037-3f11715ff3c0/value
command_topic: zipato/zipabox/request/attributes/xxxxxxxx-951f-46cb-8037-3f11715ff3c0/textValue
value_template: "{{ value_json.value }}"
payload_on: true
payload_off: false
state_on: true
state_off: false
Obviously the problem is on home assistant reboot: all my zipabox mqtt switches appear as off because they are not available…
I can request to zipabox the value sending a request to zipato/zipabox/request/attributes/uuid/getValue and zipabox reply on topic zipato/zipabox/request/attributes/53bab7a8-951f-46cb-8037-3f11715ff3c0/currentValue
How can I get this value to update my ha entity on reboot?
Scripting on state_topic is not possibile, so anyone that is able to address me to the right path?
I searched a lot on the community, but I was unable to find a solution