I built a smart home for raspberry pi 4, I have a wireless remote switch h1 button of the agara brand, I connected the sonoff zigbee smart switch brand role to the lights in my room, but I can't turn on the lights in my room by setting up automation in home assistant, I would be very happy if you could help me with this.
You will need to give us more information....
What is a Sonoff Role..? I am familiar with the Sonoff brand, but I've never heard of a product called "Role".
How are you integrating your Zigbee devices into Home Assistant? Common methods include the ZHA integration, Zigbee2MQTT, and Matter. Are you using one of those?
Can you control the switch through the dashboard? We need to know if this problem is specific to the automation or more general.
Please follow Community Questions Guidelines #9 and 11, by sharing the, properly formatted, YAML configuration of your current automation.