Inital Commit
This commit is contained in:
8
scripts/cctv_detect.yaml
Normal file
8
scripts/cctv_detect.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
#camdetecon:
|
||||
# alias: booleanopen
|
||||
# sequence:
|
||||
# - service: input_boolean.turn_on
|
||||
# entity_id: input_boolean.cameramotion
|
||||
# - delay: 00:00:30
|
||||
# - service: input_boolean.turn_off
|
||||
# entity_id: input_boolean.cameramotion
|
3
scripts/check_config.yaml
Normal file
3
scripts/check_config.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
check_config:
|
||||
sequence: []
|
||||
alias: Check Configuration
|
6
scripts/office_mediaplayer.yaml
Normal file
6
scripts/office_mediaplayer.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
skip:
|
||||
alias: skip
|
||||
sequence:
|
||||
- service: media_player.media_seek
|
||||
data_template:
|
||||
seek_position: "{{ state_attr(media_player.office_tv, 'media_position') | float + 10 }}"
|
7
scripts/reload_lounge_browser.yaml
Normal file
7
scripts/reload_lounge_browser.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
reload_lounge_browser_lovelace:
|
||||
sequence:
|
||||
- service: browser_mod.command
|
||||
data:
|
||||
command: lovelace-reload
|
||||
deviceID:
|
||||
- lounge_touchscreen
|
23
scripts/turn_light_on_for_random_time.yaml
Normal file
23
scripts/turn_light_on_for_random_time.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
light_duration:
|
||||
mode: parallel # Enable parallel executions
|
||||
description: "Turns on a light for a while, and then turns it off"
|
||||
fields:
|
||||
light:
|
||||
description: "A specific light"
|
||||
example: "light.bedroom"
|
||||
duration:
|
||||
description: "How long the light should be on in minutes"
|
||||
example: "25"
|
||||
sequence:
|
||||
- service: logbook.log
|
||||
data:
|
||||
name: "Script Notice.."
|
||||
message: >
|
||||
"Light {{ light }} will be turned on for {{ duration }}"
|
||||
- service: homeassistant.turn_on
|
||||
data:
|
||||
entity_id: "{{ light }}"
|
||||
- delay: "{{ duration }}"
|
||||
- service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id: "{{ light }}"
|
Reference in New Issue
Block a user