mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -14,7 +14,7 @@ template:
|
||||
|
||||
- name: Master Bed Occupied
|
||||
unique_id: a5620335-43a1-47ce-bf37-ac8433f3a406
|
||||
state: "{{ is_state('binary_sensor.bed_presence_2d14a4_bed_occupied_either', 'on') }}"
|
||||
state: "{{ is_state('binary_sensor.bed_presence_c175a4_bed_occupied_either', 'on') }}"
|
||||
icon: >
|
||||
{% if is_state("binary_sensor.master_bed_occupied", "on") %}
|
||||
mdi:bed-king
|
||||
|
||||
Reference in New Issue
Block a user