yangqian / hass-cozylife

third party cozylife integration
MIT License
66 stars 14 forks source link

Automation Action #10

Closed kozfelipe closed 1 year ago

kozfelipe commented 1 year ago

How can I use these lights in HA automation action? I want to turn off all the lights when I leave home I tried using Device option but cozylife discover only insert a entity rather than a device. I tried using Service option but I only have these 2 services available:

is there a way to turn a light off by automation?

yangqian commented 1 year ago

Just something like:

  - service: light.turn_on
    target:
      entity_id: light.bedroom
cozylife: Set all effect
cozylife: Set effect

are used to set the effect while the light is still off.