mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Remove history stats
This commit is contained in:
@@ -38,39 +38,6 @@
|
||||
- type: custom:sun-card
|
||||
darkMode: true
|
||||
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: coloured-vertical-stack
|
||||
variables:
|
||||
- color: "#38593a"
|
||||
- cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Home stats
|
||||
- type: entities
|
||||
entities:
|
||||
- type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: Georgi home
|
||||
- entity: sensor.georgi_home_percent
|
||||
- icon: mdi:percent
|
||||
- orange: 100
|
||||
- red: 100
|
||||
- entity: sensor.georgi_times_left
|
||||
name: Georgi times left
|
||||
- type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: Maya home
|
||||
- entity: sensor.maya_home_percent
|
||||
- icon: mdi:percent
|
||||
- orange: 100
|
||||
- red: 100
|
||||
- entity: sensor.maya_times_left
|
||||
name: Maya times left
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: coloured-vertical-stack
|
||||
variables:
|
||||
|
||||
@@ -51,43 +51,6 @@ binary_sensor:
|
||||
device_class: motion
|
||||
value_template: "{{ is_state('sensor.multisensor_6_burglar', '8') }}"
|
||||
|
||||
sensor:
|
||||
- platform: history_stats
|
||||
name: Georgi home percent
|
||||
entity_id: device_tracker.lithium
|
||||
state: "home"
|
||||
type: ratio
|
||||
duration:
|
||||
days: 7
|
||||
end: "{{ now() }}"
|
||||
|
||||
- platform: history_stats
|
||||
name: Georgi times left
|
||||
entity_id: device_tracker.lithium
|
||||
state: "home"
|
||||
type: count
|
||||
duration:
|
||||
days: 7
|
||||
end: "{{ now() }}"
|
||||
|
||||
- platform: history_stats
|
||||
name: Maya home percent
|
||||
entity_id: device_tracker.maya_s22
|
||||
state: "home"
|
||||
type: ratio
|
||||
duration:
|
||||
days: 7
|
||||
end: "{{ now() }}"
|
||||
|
||||
- platform: history_stats
|
||||
name: Maya times left
|
||||
entity_id: device_tracker.maya_s22
|
||||
state: "home"
|
||||
type: count
|
||||
duration:
|
||||
days: 7
|
||||
end: "{{ now() }}"
|
||||
|
||||
|
||||
automation:
|
||||
- alias: Presence · Georgi Arrival detection
|
||||
|
||||
Reference in New Issue
Block a user