Inital Commit

This commit is contained in:
2022-10-11 15:40:40 +13:00
commit 7089991005
50 changed files with 1313 additions and 0 deletions

8
scripts/cctv_detect.yaml Normal file
View 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

View File

@@ -0,0 +1,3 @@
check_config:
sequence: []
alias: Check Configuration

View 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 }}"

View File

@@ -0,0 +1,7 @@
reload_lounge_browser_lovelace:
sequence:
- service: browser_mod.command
data:
command: lovelace-reload
deviceID:
- lounge_touchscreen

View 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 }}"