mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Tweaks after changing room names
This commit is contained in:
@@ -577,7 +577,7 @@ sensors:
|
||||
boys_room_light_left_on:
|
||||
unique_id: templatebinarysensor.boys_room_light_left_on
|
||||
friendly_name: Boys Room Light Left On
|
||||
value_template: "{{ is_state('light.boys_room_hue','on') }}"
|
||||
value_template: "{{ is_state('light.boys_room_hue','on') and is_state('input_boolean.boys_room_occupied','off') }}"
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
name: Kids Asleep
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
name: Bedtime for Kids
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
name: Kids Bedtime More
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
name: Nursery
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
name: Teens Asleep
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
name: Teens Bedtime
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
nursery_bedtime:
|
||||
name: Nursery Bedtime
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
nursery_awake:
|
||||
name: Nursery Awake
|
||||
icon: mdi:bunk-bed
|
||||
icon: mdi:teddy-bear
|
||||
|
||||
master_bedroom_bedtime:
|
||||
name: Master Bedroom Bedtime
|
||||
@@ -20,4 +20,4 @@ boys_room_bedtime:
|
||||
|
||||
boys_room_awake:
|
||||
name: Boys Room Awake
|
||||
icon: mdi:bed
|
||||
icon: mdi:bed
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
template:
|
||||
- binary_sensor:
|
||||
- name: White Bed Occupied
|
||||
unique_id: 909df431-a6a9-4b0a-b923-2b63fc425df5
|
||||
state: "{{ is_state('binary_sensor.bed_presence_2d14a4_bed_occupied_either', 'on') }}"
|
||||
icon: >
|
||||
{% if is_state("binary_sensor.white_bed_occupied", "on") %}
|
||||
mdi:bed-single
|
||||
{% else %}
|
||||
mdi:bed-single-outline
|
||||
{% endif %}
|
||||
{%- if is_state("binary_sensor.white_bed_occupied", "on") %}
|
||||
mdi:bed
|
||||
{%- elif is_state('binary_sensor.bed_presence_2d14a4_bed_occupied_either', 'off') %}
|
||||
mdi:bed-empty
|
||||
{%- else %}
|
||||
mdi:bed-outline
|
||||
{%- endif %}
|
||||
|
||||
- name: Master Bed Occupied
|
||||
unique_id: a5620335-43a1-47ce-bf37-ac8433f3a406
|
||||
state: "{{ is_state('binary_sensor.bed_presence_2d14a4_bed_occupied_either', 'on') }}"
|
||||
icon: >
|
||||
{% if is_state("binary_sensor.master_bed_occupied", "on") %}
|
||||
@@ -19,6 +23,7 @@ template:
|
||||
{% endif %}
|
||||
|
||||
- name: Master Bed Left Occupied
|
||||
unique_id: d7956371-58d2-4c44-9121-a0fba2fd6904
|
||||
state: "{{ is_state('binary_sensor.bed_presence_c175a4_bed_occupied_left', 'on') }}"
|
||||
icon: >
|
||||
{% if is_state("binary_sensor.master_bed_left_occupied", "on") %}
|
||||
@@ -28,6 +33,7 @@ template:
|
||||
{% endif %}
|
||||
|
||||
- name: Master Bed Right Occupied
|
||||
unique_id: 93e5782c-f7ad-4e2f-a8d5-da7fc7e6d31d
|
||||
state: "{{ is_state('binary_sensor.bed_presence_c175a4_bed_occupied_right', 'on') }}"
|
||||
icon: >
|
||||
{% if is_state("binary_sensor.master_bed_right_occupied", "on") %}
|
||||
@@ -38,6 +44,7 @@ template:
|
||||
|
||||
- sensor:
|
||||
- name: ESPHome Pending Updates
|
||||
unique_id: 767eeda3-b70e-4e8f-96a8-e7031badaf0d
|
||||
state: "{{ states.update | selectattr('state', 'eq', 'on') | map(attribute='entity_id') | select ('in',integration_entities('esphome')) | list | count }}"
|
||||
icon: mdi:chip
|
||||
attributes:
|
||||
|
||||
Reference in New Issue
Block a user