various tidyups

This commit is contained in:
root
2025-12-21 20:55:54 +13:00
parent 416efa6bd3
commit 19a14e1d1b
54 changed files with 5932 additions and 502 deletions
+14 -36
View File
@@ -1,43 +1,21 @@
#nspanel_keepawake:
# name: Entities to keep NSPanel Awake
# unique_id: Entities_to_keep_NSPanel_Awake
# # Keeps the bedroom NSPanel Bright if any of these are true
# If 'all' is set to true, they are 'ANDed' otherwise 'ORd'
#all: true
# entities:
# - binary_sensor.inverted_quiet_time_sensor
# - light.tasmo_arlecrgb_3522_bulb_3
# - light.tasmo_ifan02_3793_bedrm1_1
# - light.tasmo_ks811t_3647_bedrm1_1b
#light:
# - platform: template
# sensors:
# inverted_quiet_time_sensor:
# value_template: >-
# {{ is_state('input_boolean.quiet_time', 'off') }}
# #device_class: None
# friendly_name: Quiet Time (Inverted)
template:
- light:
- name: "Inverted Quiet time as light"
unique_id: inverted_quiet_time_as_light
state: "{{ is_state('input_boolean.quiet_time', 'off') }}"
turn_on:
- service: light.turn_on
target:
entity_id: light.inverted_quiet_time_light
turn_off:
- service: light.turn_off
target:
entity_id: light.inverted_quiet_time_light
light:
- platform: template
lights:
inverted_quiet_time_as_light:
friendly_name: "Inverted Quiet time as light"
unique_id: "inverted quiet time as light"
value_template: "{{ is_state('input_boolean.quiet_time', 'off') }}"
turn_on:
service: light.turn_on
target:
entity_id: light.inverted_quiet_time_light
turn_off:
service: light.turn_off
target:
entity_id: light.inverted_quiet_time_as_light
- platform: group
name: "Entities to keep NSPanel Awake"
unique_id: "Entities to keep NSPanel Awake"
unique_id: "Entities to keep_nspanel_awake"
entities:
- light.inverted_quiet_time_as_light
- light.tasmo_arlecrgb_3522_bulb_3