2024年11月24日星期日 上午6:36:44

Turning off all house lights with automation - Turn off all

1 年 前
#20247 引用
Turning off all house lights with automation

Script
alias: Script-light.turn_off all
sequence:
  - service: light.turn_off
    data: {}
    target:
      entity_id: all
mode: single


source:https://community.home-assistant.io/t/turning-off-all-house-lights-with-automation/177784/1
0
11 个月 前
#24140 引用
Script




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
    data: {}
    target:
      area_id: book_bedroom
  - service: light.turn_off
    data: {}
    target:
      area_id: "{{ area_id('Book Bedroom') }}"
mode: single














source:http://192.168.2.50:38123/config/script/edit/new_script
0