#physical button push to change entity

1 messages · Page 1 of 1 (latest)

opaque drift
#

I have a Tasmota wall switch (in smart bulb mode) that I can press the on/off buttons and I can see switch.linkind_switch_2change state. I have a Flood light that has an entity light.flood_cam_1_flood_light that I would like to tie that button press too. So if I hit the button on the wall switch it'll turn the flood light on and off.

serene karma
#

Okay, just make an automation die it. Where are you stuck?

opaque drift
#

not stuck just wanted to see if there is an alternative or a very simple way that I'm missing.

whole gyro
#

an "automation" is how home assistant lets you set up "if something happens on one device, then do something on another device" type stuff.

#

That said, in some special cases you can set up the devices to talk directly with each-other without a home assistant automation acting as a relay. Are both of the devices (the switch and the light bulb) zigbee, by chance? Note that doing this tends to be a bit more tricky/complex than writing an automation.

whole gyro
#

You can also see if someone else has already written an automation to do what you want. Automations can be shared as "blueprints" which only require you to select the devices/entities you'd like the automation to use.