I’m trying to create a basic automation using a Xiaomi Square (WXKG11LM) to turn_on a light.
I have checked on forum and googled it but still doesn’t work after some tests…
Here is the automation :
- id : 'light_bulb_automation_click' alias: Light Bulb Click trigger: platform: event event_type: xiaomi_aqara.click event_data: entity_id: sensor.0x00158d000204a63d_click click_type: single action: - service: light.toggle entity_id: - light.bulb_floor
Everywhere, i see binary_sensor instead of sensor that i have, could it be the issue ?
Thank you for your help.