mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Move config to a subfolder
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
binary_sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
front_door_on_off_wrapper:
|
||||
friendly_name: Front door
|
||||
device_class: door
|
||||
value_template: "{{ is_state('binary_sensor.front_door_on_off', 'on') }}"
|
||||
entity_id: binary_sensor.front_door_on_off
|
||||
icon_template: >
|
||||
{% if is_state('binary_sensor.front_door_on_off', 'on') %} mdi:door-open
|
||||
{% else %} mdi:door-closed
|
||||
{% endif %}
|
||||
|
||||
#
|
||||
# ─── CUSTOMIZATION ──────────────────────────────────────────────────────────────
|
||||
#
|
||||
|
||||
homeassistant:
|
||||
customize:
|
||||
binary_sensor.front_door_on_off:
|
||||
friendly_name: Front door sensor
|
||||
|
||||
sensor.front_door_power:
|
||||
friendly_name: Front door battery
|
||||
Reference in New Issue
Block a user