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

Automation actions, calling service vs triggering a device. Which is better?

$
0
0

Like the title says, calling a service vs triggering device action, which is a better choice for automations and why.

Example


  - service: cover.close_cover
    data: {}
    target:
      area_id: garage
  - device_id: 0afe055f30c08e29a7bc92de5bc592ec
    domain: cover
    entity_id: cover.left_garage_door
    type: close

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103068

Trending Articles



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