I have a tasmota light switch that I’ve added to home Assistant. Works like a champ for turning the lights on and off, but I’d like to make full use of it and bind the current brightness level on the switch to a group of lights I have connected via zigbee.
My end desire is that by clicking on the dimmer switch it dims or brightens the zigbee bulbs as appropriate and if I dim the bulbs it writes that back to the current brightness level of the switch.
How can I link the state of two entities together?
Tasmota light switches are not using Zigbee. Home Assistant can via automations automate the controlling of non-Zigbee devices to control Zigbee devices and vice versa. But do not confuse that with “Zigbee binding”, as “bind” and “binding” terminology in the world of Zigbee specifically means a Zigbee binding between two Zigbee devices that support that feature via the same Zigbee Coordinator and on the same Zigbee network, and not the “linking” between a Zigbee device and a non-Zigbee devices that are not connected via the same Zigbee Coordinator and on the same Zigbee network. That is, Zigbee binding is done at the Zigbee level and Home Assistant does not even need to be aware it. See:
Ah, I think you may have misunderstood what I meant by “bind”. I wasn’t talking about zigbee binding, but was using it interchangeably with the world “link”. I know the devices can’t talk directly to one another and am trying to figure out how I can bind or link or mirror their brightness levels through Home Assistant.
Using an automation I can set up a trigger to execute whenever the brightness level is changed, however in the action area it wants me to hard code a value in for the light brightness.
For example I can make an automation that sets my lights to 60% whenever the brightness level of the switch is changed, but it doesn’t give me the option to enter the value from another entity in the automation area so I was trying to figure out a way to do that.