mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 09:12:57 +00:00
Move desk sensor to hallway. Group up
This commit is contained in:
@@ -60,17 +60,15 @@ binary_sensor:
|
||||
device_class: motion
|
||||
value_template: "{{ is_state('sensor.multisensor_6_burglar', '8') }}"
|
||||
|
||||
|
||||
group:
|
||||
hallway_motion:
|
||||
name: Hallway Motion
|
||||
entities:
|
||||
- binary_sensor.hallway_motion_occupancy
|
||||
- binary_sensor.trisensor_motion
|
||||
|
||||
sensor:
|
||||
- platform: history_stats
|
||||
name: At Desk
|
||||
entity_id: binary_sensor.trisensor_sensor
|
||||
state: "on"
|
||||
type: ratio
|
||||
duration:
|
||||
minutes: 5
|
||||
end: '{{ now() }}'
|
||||
|
||||
|
||||
- platform: history_stats
|
||||
name: Quarantined percent
|
||||
entity_id: device_tracker.carbon
|
||||
@@ -177,3 +175,6 @@ homeassistant:
|
||||
|
||||
automation.presence_arrival_detecion:
|
||||
icon: mdi:account-plus-outline
|
||||
|
||||
group.hallway_motion:
|
||||
icon: mdi:motion-sensor
|
||||
|
||||
Reference in New Issue
Block a user