various tidyups
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
skip:
|
||||
alias: skip
|
||||
sequence:
|
||||
- service: media_player.media_seek
|
||||
data_template:
|
||||
seek_position: "{{ state_attr(media_player.office_tv, 'media_position') | float + 10 }}"
|
||||
@@ -1,5 +0,0 @@
|
||||
action: browser_mod.javascript
|
||||
data:
|
||||
code: lovelace_reload()
|
||||
browser_id:
|
||||
- lounge
|
||||
@@ -1,23 +0,0 @@
|
||||
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