various tidyups

This commit is contained in:
zorruno
2026-07-24 18:55:12 +12:00
parent fce8c7b0bc
commit fe6feee250
58 changed files with 749 additions and 5339 deletions
-6
View File
@@ -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 }}"
-5
View File
@@ -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 }}"