@fashberg wrote:
Hey folks,
has anyone an idea, how to solve that problem:
I have several lights controlled with zigbee2mqtt - everything works fine.
The lights itself can be powered on/off with shelly1 (wifi relay).Toggling the physical light-switch triggers the shelly, which powers the bulb. Shelly does this independantly and i don’t want to change this (fallback in case HASS is offline).
The HASS-state of the zigbee light changes to “unavaiable” if shelly powers off the zigbee bulb. Sure, because zigbee2mqtt pings the devices, gets no answer and then sends unavailable. Thats fine.
Question: How to automate, that triggering the light with status “unavailable” to “on” triggers the shelly on instead (which switches the light on).
In Lovelace, especially lovelace-floorplan, i want to have one single icon with the status of the light; short press for on/off and long-press for changing RGB and brightness.
Trying with https://www.home-assistant.io/integrations/light.switch/ , but there is only support for on/off.
Others ideas?Thanks for your support !
Folke
Posts: 1
Participants: 1