Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96123

Turning on Yeelight with an Aqara Button (automation not working)

$
0
0

@TMachado wrote:

So for some reason after yeelight firmware upgrade my yeelight stopped being auto discovered (there are some posts around that), which I solved this way:

yeelight:
  devices:
    192.168.1.80:
      name: Yeelight

So now I can manually control the yeelight through HA, and by sensor Aqara button/switch is still there. Problem is, my automation stopped working because as the light is not auto discovered, the entity id is no longer recognized (does not appear on the entities on HA):

- alias: "Controlar Lampada Sala"
  trigger:
    # Single press bedroom round switch
    - platform: event
      event_type: click
      event_data:
        entity_id: binary_sensor.switch_158d0001d62b0d
        click_type: single
  action:
    service: homeassistant.toggle
    data:
      entity_id: light.yeelight_UNKNOWN_7c49ebb35642

What should I put on the entity id?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>