i would like to turn my lights using physical wall switch:
Reason is simple: If my HA drops, i still would like to turn ON/OFF my lights.
So i use smart light from Yeelink, and i can turn it on/off (when wall switch is on) using HA.
Also when i create Badge in Lovelace i can turn on/off, change brightness, color using Yeelink commands.
Now i would like to create same looking Badge, where i can do the same BUT for turning on/off use Aqara Wall switch, and NOT Yeelink, while for all other commands (brightness, color …) use yeeling commands.
How can i do that, to have Light badge and controling 2 devices with it ?
What i would like is to trigger two entities in one card (light card for example).
Meaning, when i press on/off light in HA card, i trigger entity of wall switch relay (that turn wall switch realy on or off - so i can always turn light on/off using also physical wall switch).
But when i change brightness or color i trigger entity of yeelight brightness and rgb.
This way, i can use either wall switch OR HA card in Lovelace to turn on/off my light.
But since my light is also “smart” i can also change this light brightnessm rgb (but in same card).
Event better would be, that i have card with only ON/OFF (entity of wall switch relay) and settings icon with popup, where i can change entity of bulb (brightness, rgb…).
Ok, then as long as the switch isn’t wired to the bulb you’ll be fine. You will however need Home Assistant for that.
If you wire the bulb to the switch then you’ll need to build in logic so that turning on the bulb turns on the switch first. This is one of many reasons why you shouldn’t wire a smart bulb to a switch