summaryrefslogtreecommitdiffstats
path: root/.storage
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2023-01-21 01:27:13 +0400
committerSuren A. Chilingaryan <csa@suren.me>2023-01-21 01:27:13 +0400
commit614c8a5f4e3bf26d3af0a91685e00eecb171339b (patch)
tree94a94b63fb3e10a1ec4bf132bd5e3dde4dafae3b /.storage
parent2c0c331eb7b7a03152309bbbd4e0fee157e8d86c (diff)
downloadhass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.tar.gz
hass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.tar.bz2
hass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.tar.xz
hass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.zip
Media controls, occupancy tracking, and fixes
Diffstat (limited to '.storage')
-rw-r--r--.storage/input_boolean8
-rw-r--r--.storage/lovelace.lovelace_research3
-rw-r--r--.storage/lovelace.lovelace_status60
-rw-r--r--.storage/lovelace.lovelace_test463
4 files changed, 352 insertions, 182 deletions
diff --git a/.storage/input_boolean b/.storage/input_boolean
index ea55fac..f03e5e7 100644
--- a/.storage/input_boolean
+++ b/.storage/input_boolean
@@ -40,6 +40,14 @@
{
"name": "Mode Bright",
"id": "mode_bright"
+ },
+ {
+ "name": "Occupancy Toilet",
+ "id": "occupancy_toilet"
+ },
+ {
+ "name": "Occupancy Bathroom",
+ "id": "occupancy_bathroom"
}
]
}
diff --git a/.storage/lovelace.lovelace_research b/.storage/lovelace.lovelace_research
index dffc4a1..1e53158 100644
--- a/.storage/lovelace.lovelace_research
+++ b/.storage/lovelace.lovelace_research
@@ -65,9 +65,6 @@
"entity": "binary_sensor.bathroom_leak_water_leak"
},
{
- "entity": "binary_sensor.kitchen_door_contact"
- },
- {
"entity": "sensor.living_office_device_temperature"
}
],
diff --git a/.storage/lovelace.lovelace_status b/.storage/lovelace.lovelace_status
index a5ea896..aad7bd1 100644
--- a/.storage/lovelace.lovelace_status
+++ b/.storage/lovelace.lovelace_status
@@ -114,24 +114,52 @@
"type": "entities",
"entities": [
{
+ "entity": "input_boolean.occupancy_toilet",
+ "name": "Toilet"
+ },
+ {
+ "entity": "input_boolean.occupancy_bathroom",
+ "name": "Bathroom"
+ }
+ ],
+ "title": "Occupancy"
+ },
+ {
+ "type": "entities",
+ "title": "Doors",
+ "entities": [
+ {
+ "entity": "binary_sensor.entrance_door_contact",
+ "name": "Entrance"
+ },
+ {
+ "entity": "binary_sensor.toilet_door_contact",
+ "name": "Toilet"
+ }
+ ]
+ },
+ {
+ "type": "entities",
+ "entities": [
+ {
"entity": "binary_sensor.hall_motions_occupancy",
"name": "Hall"
},
{
- "entity": "binary_sensor.office_motions_occupancy",
- "name": "Office"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Kitchen1"
},
{
- "entity": "binary_sensor.living_motions_occupancy",
- "name": "Living"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Kitchen2"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
- "name": "Bedroom"
+ "entity": "binary_sensor.bathroom_motions_occupancy",
+ "name": "Bathroom"
},
{
- "entity": "binary_sensor.kitchen_motions_occupancy",
- "name": "Kitchen"
+ "entity": "binary_sensor.toilet_motions_occupancy",
+ "name": "Toilet"
}
],
"title": "Motions"
@@ -144,20 +172,20 @@
"name": "Hall"
},
{
- "entity": "binary_sensor.living_motions_occupancy",
- "name": "Living"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Kitchen1"
},
{
- "entity": "binary_sensor.office_motions_occupancy",
- "name": "Office"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Kitchen2"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
- "name": "Bedroom"
+ "entity": "binary_sensor.bathroom_motions_occupancy",
+ "name": "Bathroom"
},
{
- "entity": "binary_sensor.kitchen_motions_occupancy",
- "name": "Kitchen"
+ "entity": "binary_sensor.toilet_motions_occupancy",
+ "name": "Toilet"
}
],
"hours_to_show": 2,
diff --git a/.storage/lovelace.lovelace_test b/.storage/lovelace.lovelace_test
index d9477fe..42bcdbf 100644
--- a/.storage/lovelace.lovelace_test
+++ b/.storage/lovelace.lovelace_test
@@ -31,169 +31,194 @@
"type": "vertical-stack",
"cards": [
{
- "type": "history-graph",
+ "type": "entities",
"entities": [
{
- "entity": "binary_sensor.entrance_door_contact",
- "name": "Contact"
+ "entity": "group.master_phones",
+ "name": "Phones"
},
{
- "entity": "binary_sensor.hall_motions_occupancy",
- "name": "Motions"
+ "entity": "group.master_laptops",
+ "name": "Laptops"
},
{
- "entity": "binary_sensor.entrance_vibrations_vibration",
- "name": "Vibration"
+ "entity": "sensor.192_168_50_1_devices_connected",
+ "name": "Asgard clients"
},
{
- "entity": "sensor.entrance_vibrations_strength",
- "name": "Strength"
+ "type": "divider"
+ },
+ {
+ "entity": "device_tracker.legion8",
+ "name": "Legion8/Asgard"
+ },
+ {
+ "entity": "device_tracker.lm_g810",
+ "name": "Legion8/Hass"
+ },
+ {
+ "entity": "device_tracker.nyx",
+ "name": "Nyx/Asgard"
}
- ],
- "hours_to_show": 1,
- "title": "Vibration Sensor (1h)"
+ ]
},
{
- "type": "entities",
+ "type": "history-graph",
"entities": [
{
- "entity": "binary_sensor.hall_motions_occupancy",
- "name": "Hall"
+ "entity": "group.master_phones",
+ "name": "Phones"
},
{
- "entity": "binary_sensor.office_motions_occupancy",
- "name": "Office"
+ "entity": "group.master_laptops",
+ "name": "Laptops"
},
{
- "entity": "binary_sensor.living_motions_occupancy",
- "name": "Living"
+ "entity": "device_tracker.legion8",
+ "name": "Legion8/Asgard"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
- "name": "Bedroom"
+ "entity": "device_tracker.lm_g810",
+ "name": "Legion8/Hass"
},
{
- "entity": "binary_sensor.kitchen_motions_occupancy",
- "name": "Kitchen"
+ "entity": "device_tracker.nyx",
+ "name": "Nyx/Asgard"
+ },
+ {
+ "entity": "sensor.192_168_50_1_devices_connected",
+ "name": "Asgard clients"
}
],
- "title": "Motions"
+ "hours_to_show": 12
},
{
"type": "history-graph",
"entities": [
{
- "entity": "binary_sensor.hall_motions_occupancy",
- "name": "Hall"
- },
- {
- "entity": "binary_sensor.living_motions_occupancy",
- "name": "Living"
+ "entity": "binary_sensor.entrance_door_contact",
+ "name": "Contact"
},
{
- "entity": "binary_sensor.office_motions_occupancy",
- "name": "Office"
+ "entity": "binary_sensor.hall_motions_occupancy",
+ "name": "Motions"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
- "name": "Bedroom"
+ "entity": "binary_sensor.entrance_vibrations_vibration",
+ "name": "Vibration"
},
{
- "entity": "binary_sensor.kitchen_motions_occupancy",
- "name": "Kitchen"
+ "entity": "sensor.entrance_vibrations_strength",
+ "name": "Strength"
}
],
"hours_to_show": 1,
- "title": "Motion Sensors (1h)"
- },
+ "title": "Vibration Sensor (1h)"
+ }
+ ]
+ },
+ {
+ "type": "vertical-stack",
+ "cards": [
{
- "type": "history-graph",
+ "type": "entities",
"entities": [
{
"entity": "binary_sensor.hall_motions_occupancy",
"name": "Hall"
},
{
- "entity": "binary_sensor.living_motions_occupancy",
- "name": "Living"
+ "type": "divider"
},
{
- "entity": "binary_sensor.office_motions_occupancy",
- "name": "Office"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Kitchen/Table"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
- "name": "Bedroom"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Kitchen/Sink"
},
{
- "entity": "binary_sensor.kitchen_motions_occupancy",
- "name": "Kitchen"
+ "type": "divider"
+ },
+ {
+ "entity": "binary_sensor.bathroom_motions_occupancy",
+ "name": "Bathroom"
+ },
+ {
+ "type": "divider"
+ },
+ {
+ "entity": "binary_sensor.toilet_motions_occupancy",
+ "name": "Toilet"
+ },
+ {
+ "entity": "binary_sensor.toilet_door_contact",
+ "name": "Door"
}
- ],
- "hours_to_show": 12,
- "title": "Motion Sensors (12h)"
+ ]
},
{
- "type": "entities",
+ "type": "history-graph",
"entities": [
{
- "entity": "group.master_phones",
- "name": "Phones"
- },
- {
- "entity": "group.master_laptops",
- "name": "Laptops"
+ "entity": "binary_sensor.hall_motions_occupancy",
+ "name": "Hall"
},
{
- "entity": "sensor.192_168_50_1_devices_connected",
- "name": "Asgard clients"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Kitchen/Table"
},
{
- "type": "divider"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Kitchen/Sink"
},
{
- "entity": "device_tracker.legion8",
- "name": "Legion8/Asgard"
+ "entity": "binary_sensor.bathroom_motions_occupancy",
+ "name": "Bathroom"
},
{
- "entity": "device_tracker.lm_g810",
- "name": "Legion8/Hass"
+ "entity": "binary_sensor.toilet_motions_occupancy",
+ "name": "Toilet"
},
{
- "entity": "device_tracker.nyx",
- "name": "Nyx/Asgard"
+ "entity": "binary_sensor.toilet_door_contact",
+ "name": "Toilet Door"
}
- ]
+ ],
+ "hours_to_show": 1,
+ "title": "Motion Sensors (1h)"
},
{
"type": "history-graph",
"entities": [
{
- "entity": "group.master_phones",
- "name": "Phones"
+ "entity": "binary_sensor.hall_motions_occupancy",
+ "name": "Hall"
},
{
- "entity": "group.master_laptops",
- "name": "Laptops"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Kitchen/Table"
},
{
- "entity": "device_tracker.legion8",
- "name": "Legion8/Asgard"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Kitchen/Sink"
},
{
- "entity": "device_tracker.lm_g810",
- "name": "Legion8/Hass"
+ "entity": "binary_sensor.bathroom_motions_occupancy",
+ "name": "Bathroom"
},
{
- "entity": "device_tracker.nyx",
- "name": "Nyx/Asgard"
+ "entity": "binary_sensor.toilet_motions_occupancy",
+ "name": "Toilet"
},
{
- "entity": "sensor.192_168_50_1_devices_connected",
- "name": "Asgard clients"
+ "entity": "binary_sensor.toilet_door_contact",
+ "name": "Toilet Door"
}
],
- "hours_to_show": 12
+ "hours_to_show": 12,
+ "title": "Motion Sensors (12h)"
}
]
},
@@ -201,43 +226,55 @@
"type": "vertical-stack",
"cards": [
{
- "type": "history-graph",
+ "type": "entities",
"entities": [
{
- "entity": "switch.living_lights_left",
- "name": "Lustre 1"
+ "entity": "switch.hall_lights_left",
+ "name": "Hall Light"
},
{
- "entity": "switch.living_lights_center",
- "name": "Lustre 2"
+ "entity": "switch.entrance_lights_left",
+ "name": "Entrance Light"
},
{
- "entity": "switch.living_lights_right",
- "name": "Smart Bulb"
+ "entity": "switch.kitchen_lights_left",
+ "name": "Kitchen/Lustre"
+ },
+ {
+ "entity": "switch.kitchen_lights_center",
+ "name": "Kitchen/LED"
},
{
- "entity": "switch.living_tablelamp",
- "name": "DeskLamp"
+ "type": "divider"
},
{
- "entity": "binary_sensor.living_motions_occupancy",
- "name": "Room Motions"
+ "entity": "binary_sensor.hall_motions_occupancy",
+ "name": "Motions/Hall"
},
{
- "entity": "sensor.living_motions_illuminance_lux",
- "name": "Room Lux"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Motions/Table"
},
{
- "entity": "binary_sensor.office_motions_occupancy",
- "name": "Office Motions"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Motions/Sink"
},
{
- "entity": "sensor.office_motions_illuminance_lux",
- "name": "Office Lux"
+ "type": "divider"
+ },
+ {
+ "entity": "sensor.hall_motions_illuminance_lux",
+ "name": "Lux/Hall"
+ },
+ {
+ "entity": "sensor.kitchen_motions_illuminance_lux",
+ "name": "Lux/Table"
+ },
+ {
+ "entity": "sensor.kitchen_motions2_illuminance_lux",
+ "name": "Lux/Sink"
}
- ],
- "hours_to_show": 1,
- "title": "Living Illuminance (1h)"
+ ]
},
{
"type": "history-graph",
@@ -251,118 +288,218 @@
"name": "Entrance Light"
},
{
- "entity": "binary_sensor.hall_motions_occupancy",
- "name": "Motions"
- },
- {
- "entity": "sensor.hall_motions_illuminance_lux",
- "name": "Lux"
- }
- ],
- "hours_to_show": 1,
- "title": "Hall Illuminance (1h)"
- },
- {
- "type": "history-graph",
- "entities": [
- {
"entity": "switch.kitchen_lights_left",
- "name": "Lustre"
+ "name": "Kitchen/Lustre"
},
{
"entity": "switch.kitchen_lights_center",
- "name": "LED"
+ "name": "Kitchen/LED"
},
{
- "entity": "binary_sensor.kitchen_motions_occupancy",
- "name": "Motions"
+ "entity": "switch.living_lights_left",
+ "name": "Living/Lustre1"
},
{
- "entity": "sensor.kitchen_motions_illuminance_lux",
- "name": "Lux"
- }
- ],
- "hours_to_show": 1,
- "title": "Kitchen Illuminance (1h)"
- }
- ]
- },
- {
- "type": "vertical-stack",
- "cards": [
- {
- "type": "history-graph",
- "entities": [
+ "entity": "switch.living_lights_center",
+ "name": "Living/Lustre2"
+ },
{
- "entity": "switch.bedroom_lights_left",
- "name": "Lustre 1"
+ "entity": "switch.living_lights_right",
+ "name": "Living/Office"
},
{
- "entity": "switch.bedroom_lights_center",
- "name": "Lustre 2"
+ "entity": "switch.bathroom_lights_left",
+ "name": "Bedroom/Lustre1"
},
{
- "entity": "switch.bedroom_lights_right",
- "name": "Smart Bulb"
+ "entity": "switch.bedroom_lights_center",
+ "name": "Bedroom/Lustre1"
},
{
- "entity": "switch.bedroom_tablelamp",
- "name": "DeskLamp"
+ "entity": "switch.bathroom_lights_left",
+ "name": "Bathroom/Light"
},
{
- "entity": "binary_sensor.bedroom_bedsidelamp",
- "name": "BedLamp"
+ "entity": "switch.entrance_lights_left",
+ "name": "Toilet/Light"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
+ "entity": "binary_sensor.hall_motions_occupancy",
"name": "Motions"
},
{
- "entity": "sensor.bedroom_motions_illuminance_lux",
+ "entity": "sensor.hall_motions_illuminance_lux",
"name": "Lux"
}
],
"hours_to_show": 1,
- "title": "Bedroom Illuminance (1h)"
+ "title": "Hall Illuminance (1h)"
},
{
"type": "history-graph",
"entities": [
{
- "entity": "switch.bedroom_lights_left",
- "name": "Lustre 1"
+ "entity": "switch.kitchen_lights_left",
+ "name": "Lustre"
+ },
+ {
+ "entity": "switch.kitchen_lights_center",
+ "name": "LED"
},
{
- "entity": "switch.bedroom_lights_center",
- "name": "Lustre 2"
+ "entity": "switch.hall_lights_left",
+ "name": "Hall Light"
},
{
- "entity": "switch.bedroom_lights_right",
- "name": "Smart Bulb"
+ "entity": "switch.entrance_lights_left",
+ "name": "Entrance Light"
},
{
- "entity": "switch.bedroom_tablelamp",
- "name": "DeskLamp"
+ "entity": "binary_sensor.kitchen_motions_occupancy",
+ "name": "Motions/Table"
},
{
- "entity": "binary_sensor.bedroom_bedsidelamp",
- "name": "BedLamp"
+ "entity": "binary_sensor.kitchen_motions2_occupancy",
+ "name": "Motions/Sink"
},
{
- "entity": "binary_sensor.bedroom_motions_occupancy",
- "name": "Motions"
+ "entity": "sensor.kitchen_motions_illuminance_lux",
+ "name": "Lux/Table"
},
{
- "entity": "sensor.bedroom_motions_illuminance_lux",
- "name": "Lux"
+ "entity": "sensor.kitchen_motions2_illuminance_lux",
+ "name": "Lux/Sink"
}
],
- "hours_to_show": 12,
- "title": "Bedroom Illuminance (12h)"
+ "hours_to_show": 1,
+ "title": "Kitchen Illuminance (1h)"
}
]
},
{
+ "type": "conditional",
+ "conditions": [
+ {
+ "entity": "binary_sensor.kitchen_motions_illuminance_lux",
+ "state": "3333"
+ }
+ ],
+ "card": {
+ "type": "vertical-stack",
+ "cards": [
+ {
+ "type": "history-graph",
+ "entities": [
+ {
+ "entity": "switch.living_lights_left",
+ "name": "Lustre 1"
+ },
+ {
+ "entity": "switch.living_lights_center",
+ "name": "Lustre 2"
+ },
+ {
+ "entity": "switch.living_lights_right",
+ "name": "Smart Bulb"
+ },
+ {
+ "entity": "switch.living_tablelamp",
+ "name": "DeskLamp"
+ },
+ {
+ "entity": "binary_sensor.living_motions_occupancy",
+ "name": "Room Motions"
+ },
+ {
+ "entity": "sensor.living_motions_illuminance_lux",
+ "name": "Room Lux"
+ },
+ {
+ "entity": "binary_sensor.office_motions_occupancy",
+ "name": "Office Motions"
+ },
+ {
+ "entity": "sensor.office_motions_illuminance_lux",
+ "name": "Office Lux"
+ }
+ ],
+ "hours_to_show": 1,
+ "title": "Living Illuminance (1h)"
+ },
+ {
+ "type": "history-graph",
+ "entities": [
+ {
+ "entity": "switch.bedroom_lights_left",
+ "name": "Lustre 1"
+ },
+ {
+ "entity": "switch.bedroom_lights_center",
+ "name": "Lustre 2"
+ },
+ {
+ "entity": "switch.bedroom_lights_right",
+ "name": "Smart Bulb"
+ },
+ {
+ "entity": "switch.bedroom_tablelamp",
+ "name": "DeskLamp"
+ },
+ {
+ "entity": "binary_sensor.bedroom_bedsidelamp",
+ "name": "BedLamp"
+ },
+ {
+ "entity": "binary_sensor.bedroom_motions_occupancy",
+ "name": "Motions"
+ },
+ {
+ "entity": "sensor.bedroom_motions_illuminance_lux",
+ "name": "Lux"
+ }
+ ],
+ "hours_to_show": 1,
+ "title": "Bedroom Illuminance (1h)"
+ },
+ {
+ "type": "history-graph",
+ "entities": [
+ {
+ "entity": "switch.bedroom_lights_left",
+ "name": "Lustre 1"
+ },
+ {
+ "entity": "switch.bedroom_lights_center",
+ "name": "Lustre 2"
+ },
+ {
+ "entity": "switch.bedroom_lights_right",
+ "name": "Smart Bulb"
+ },
+ {
+ "entity": "switch.bedroom_tablelamp",
+ "name": "DeskLamp"
+ },
+ {
+ "entity": "binary_sensor.bedroom_bedsidelamp",
+ "name": "BedLamp"
+ },
+ {
+ "entity": "binary_sensor.bedroom_motions_occupancy",
+ "name": "Motions"
+ },
+ {
+ "entity": "sensor.bedroom_motions_illuminance_lux",
+ "name": "Lux"
+ }
+ ],
+ "hours_to_show": 12,
+ "title": "Bedroom Illuminance (12h)"
+ }
+ ]
+ }
+ },
+ {
"type": "vertical-stack",
"cards": [
{