Turn on/off lights using wall switch (physical turn on/off) while still have smart light

Hi,

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 ?

Thank you,
Andrej

Short answer, you can’t. The switch doesn’t know how to communicate with those Yeelink devices.

Now, if those were Zigbee bulbs and both the bulbs and switch support Binding then you could.

Thanks Tinkerer for answer.

I actually do not need switch to communicate with bulb. HA can control both OK.

All i would need is that card (say first one from this page: https://www.home-assistant.io/lovelace/light/)
would use switch on/off relay and brightness from bulb.

What if both uses mqtt? is binding supported ?

Yet you said:

:man_shrugging:

Binding is a Zigbee thing, so no :wink:

I think i am still not understood correctly :slight_smile:

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…).

regards,
Andrej

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 :wink: