Cookies帮助我们提供我们的服务。如果要使用我们的服务,您需同意我们使用cookie。
2024年11月24日星期日 上午10:43:13
[Script] automation - How to turn off all lights and media players when everyone is out of the house
- 楼主
- 6317
- 楼主
- 6317
- 楼主
- 6317
- 楼主
- 6317
Script - turn off all lights in an Area
alias: >-
Script-light.turn_off all
-https://community.home-assistant.io/t/turning-off-all-house-lights-with-automation/177784/11
sequence:
- service: light.turn_off
data: {}
target:
entity_id: all
- service: light.turn_off # turn off/on all lights in an Area https://community.home-assistant.io/t/can-you-turn-off-on-all-lights-in-an-area/339234/2?u=msly
data: {}
target:
area_id: book_bedroom
mode: single
0