mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
24 lines
714 B
YAML
24 lines
714 B
YAML
# https://www.home-assistant.io/integrations/binary_sensor
|
|
|
|
- platform: template
|
|
sensors:
|
|
camera_state:
|
|
friendly_name: Security camera
|
|
device_class: safety
|
|
value_template: >-
|
|
{{ state_attr('camera.amcrest_camera', 'motion_recording') != 'on' }}
|
|
|
|
georgi_home:
|
|
friendly_name: Georgi
|
|
device_class: presence
|
|
value_template: "{{ is_state('input_boolean.georgi_home', 'on') }}"
|
|
entity_id: input_boolean.georgi_home
|
|
icon_template: >
|
|
{% if is_state('input_boolean.georgi_home','on') %} mdi:account
|
|
{% else %} mdi:account-off-outline
|
|
{% endif %}
|
|
|
|
# https://www.home-assistant.io/integrations/iss/
|
|
- platform: iss
|
|
show_on_map: true
|