I integrated in my Home Automation a shelly Dimmer2 using MQTT.
Shelly Dimmer 2 has two MQTT for dimming/switching the light:
-) A switch command (on/off).
-) A dimming command (complex JSON: switch + dimming).
I configured in my sitemap, 2 items:
-)A switch (linked to Dimmer2 Switch command channel)
-)A dimmer (linked to dimmig command channel)
Using the sitemap all is working good. I also configured the Dimmer as visible only if the switch is On.
But the problem is on Google Assistant configuration. I tryed to add metadata “ga” (light), only to dimmer Item.
In this way i can dimm and switch on or off the light but the Google Assistant Icon, is still in “on” state, also if the dimmer is off. If I switch off the dimmer, the Google Home icon switch off up to the next update.
This is frustating…