mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-17 01:52:58 +00:00
Define motion sensors. Add new sensors on living room dashboard.
This commit is contained in:
@@ -51,18 +51,6 @@ cards:
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.trisensor_burglar
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: entities
|
||||
entities:
|
||||
- zwave.aeotec_limited_zwa005_trisensor
|
||||
@@ -103,18 +91,6 @@ cards:
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.multisensor_6_burglar
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.multisensor_6_relative_humidity
|
||||
|
||||
@@ -100,6 +100,18 @@
|
||||
- player_name: Living room
|
||||
|
||||
|
||||
- type: vertical-stack
|
||||
title: Camera
|
||||
cards:
|
||||
- type: picture-glance
|
||||
camera_image: camera.amcrest_camera
|
||||
entities:
|
||||
- entity: camera.amcrest_camera
|
||||
- entity: switch.camera
|
||||
show_state: false
|
||||
- entity: binary_sensor.amcrest_camera_online
|
||||
show_state: false
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
@@ -128,15 +140,66 @@
|
||||
max_value: 800
|
||||
normal_value: 100
|
||||
high_value: 300
|
||||
- type: vertical-stack
|
||||
title: Camera
|
||||
cards:
|
||||
- type: picture-glance
|
||||
camera_image: camera.amcrest_camera
|
||||
entities:
|
||||
- entity: camera.amcrest_camera
|
||||
- entity: switch.camera
|
||||
show_state: false
|
||||
- entity: binary_sensor.amcrest_camera_online
|
||||
show_state: false
|
||||
|
||||
- type: horizontal-stack
|
||||
title: Tri Sensor
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.trisensor_temperature
|
||||
name: Temperature
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.trisensor_luminance
|
||||
name: Lux
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.trisensor_motion
|
||||
name: Motion
|
||||
|
||||
- type: horizontal-stack
|
||||
title: Multi Sensor
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.multisensor_6_temperature
|
||||
name: Temperature
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.multisensor_6_luminance
|
||||
name: Lux
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.multisensor_motion
|
||||
name: Motion
|
||||
|
||||
- type: horizontal-stack
|
||||
title: More
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.living_room_thermostat_temperature
|
||||
name: Radiator temperature
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.multisensor_6_relative_humidity
|
||||
name: Multi Humidity
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.multisensor_6_ultraviolet
|
||||
name: Multi UV
|
||||
|
||||
|
||||
@@ -51,6 +51,18 @@ binary_sensor:
|
||||
{% else %} mdi:account-off-outline
|
||||
{% endif %}
|
||||
|
||||
trisensor_motion:
|
||||
friendly_name: TriSensor motion
|
||||
device_class: motion
|
||||
entity_id: sensor.trisensor_burglar
|
||||
value_template: "{{ is_state('sensor.trisensor_burglar', 8) }}"
|
||||
|
||||
multisensor_motion:
|
||||
friendly_name: MultiSensor motion
|
||||
device_class: motion
|
||||
entity_id: sensor.multisensor_6_burglar
|
||||
value_template: "{{ is_state('sensor.multisensor_6_burglar', 8) }}"
|
||||
|
||||
sensor:
|
||||
- platform: history_stats
|
||||
name: Quarantined percent
|
||||
|
||||
Reference in New Issue
Block a user