diff options
Diffstat (limited to '.storage')
-rw-r--r-- | .storage/core.area_registry | 49 | ||||
-rw-r--r-- | .storage/core.config | 16 | ||||
-rw-r--r-- | .storage/energy | 140 | ||||
-rw-r--r-- | .storage/input_boolean | 46 | ||||
-rw-r--r-- | .storage/input_button | 21 | ||||
-rw-r--r-- | .storage/input_datetime | 8 | ||||
-rw-r--r-- | .storage/input_number | 8 | ||||
-rw-r--r-- | .storage/lovelace.lovelace_climate | 164 | ||||
-rw-r--r-- | .storage/lovelace.lovelace_control | 366 | ||||
-rw-r--r-- | .storage/lovelace.lovelace_power | 266 | ||||
-rw-r--r-- | .storage/lovelace.lovelace_research | 185 | ||||
-rw-r--r-- | .storage/lovelace.lovelace_status | 256 | ||||
-rw-r--r-- | .storage/lovelace.lovelace_test | 402 | ||||
-rw-r--r-- | .storage/lovelace_dashboards | 63 | ||||
-rw-r--r-- | .storage/lovelace_resources | 19 | ||||
-rw-r--r-- | .storage/person | 17 | ||||
-rw-r--r-- | .storage/tag | 15 | ||||
-rw-r--r-- | .storage/zone | 18 |
18 files changed, 2059 insertions, 0 deletions
diff --git a/.storage/core.area_registry b/.storage/core.area_registry new file mode 100644 index 0000000..4225896 --- /dev/null +++ b/.storage/core.area_registry @@ -0,0 +1,49 @@ +{ + "version": 1, + "minor_version": 1, + "key": "core.area_registry", + "data": { + "areas": [ + { + "name": "Living Room", + "id": "living_room", + "picture": null + }, + { + "name": "Kitchen", + "id": "kitchen", + "picture": null + }, + { + "name": "Bedroom", + "id": "bedroom", + "picture": null + }, + { + "name": "Hall", + "id": "hall", + "picture": null + }, + { + "name": "Virtual", + "id": "virtual", + "picture": null + }, + { + "name": "Bathroom", + "id": "bathroom", + "picture": null + }, + { + "name": "Portable", + "id": "portable", + "picture": null + }, + { + "name": "Guestroom", + "id": "guestroom", + "picture": null + } + ] + } +}
\ No newline at end of file diff --git a/.storage/core.config b/.storage/core.config new file mode 100644 index 0000000..40052c9 --- /dev/null +++ b/.storage/core.config @@ -0,0 +1,16 @@ +{ + "version": 1, + "minor_version": 1, + "key": "core.config", + "data": { + "latitude": 40.20199333859466, + "longitude": 44.48050969769397, + "elevation": 1050, + "unit_system": "metric", + "location_name": "Halabyan24", + "time_zone": "Asia/Yerevan", + "external_url": null, + "internal_url": null, + "currency": "EUR" + } +}
\ No newline at end of file diff --git a/.storage/energy b/.storage/energy new file mode 100644 index 0000000..5f2fb7e --- /dev/null +++ b/.storage/energy @@ -0,0 +1,140 @@ +{ + "version": 1, + "minor_version": 1, + "key": "energy", + "data": { + "energy_sources": [ + { + "type": "grid", + "flow_from": [ + { + "stat_energy_from": "sensor.living_office_energy", + "stat_cost": null, + "entity_energy_from": "sensor.living_office_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.kitchen_oven_energy", + "stat_cost": null, + "entity_energy_from": "sensor.kitchen_oven_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.kitchen_wash_energy", + "stat_cost": null, + "entity_energy_from": "sensor.kitchen_wash_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.kitchen_teatable_energy", + "stat_cost": null, + "entity_energy_from": "sensor.kitchen_teatable_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.bedroom_aircon_energy", + "stat_cost": null, + "entity_energy_from": "sensor.bedroom_aircon_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.bedroom_roof_energy", + "stat_cost": null, + "entity_energy_from": "sensor.bedroom_roof_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.hall_camera_energy", + "stat_cost": null, + "entity_energy_from": "sensor.hall_camera_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.kitchen_ledlights_energy", + "stat_cost": null, + "entity_energy_from": "sensor.kitchen_ledlights_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.living_tablelamp_energy", + "stat_cost": null, + "entity_energy_from": "sensor.living_tablelamp_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.bedroom_tablelamp_energy", + "stat_cost": null, + "entity_energy_from": "sensor.bedroom_tablelamp_energy", + "entity_energy_price": null, + "number_energy_price": null + }, + { + "stat_energy_from": "sensor.bedroom_bedsidelampsocket_energy", + "stat_cost": null, + "entity_energy_from": "sensor.bedroom_bedsidelampsocket_energy", + "entity_energy_price": null, + "number_energy_price": null + } + ], + "flow_to": [], + "cost_adjustment_day": 0.0 + } + ], + "device_consumption": [ + { + "stat_consumption": "sensor.kitchen_oven_energy" + }, + { + "stat_consumption": "sensor.kitchen_wash_energy" + }, + { + "stat_consumption": "sensor.kitchen_teatable_energy" + }, + { + "stat_consumption": "sensor.bedroom_aircon_energy" + }, + { + "stat_consumption": "sensor.office_aircon_energy" + }, + { + "stat_consumption": "sensor.living_office_energy" + }, + { + "stat_consumption": "sensor.office_shelfbottom_energy" + }, + { + "stat_consumption": "sensor.office_shelftop_energy" + }, + { + "stat_consumption": "sensor.office_table_energy" + }, + { + "stat_consumption": "sensor.bedroom_roof_energy" + }, + { + "stat_consumption": "sensor.hall_camera_energy" + }, + { + "stat_consumption": "sensor.kitchen_ledlights_energy" + }, + { + "stat_consumption": "sensor.bedroom_bedsidelampsocket_energy" + }, + { + "stat_consumption": "sensor.bedroom_tablelamp_energy" + }, + { + "stat_consumption": "sensor.living_tablelamp_energy" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/input_boolean b/.storage/input_boolean new file mode 100644 index 0000000..ea55fac --- /dev/null +++ b/.storage/input_boolean @@ -0,0 +1,46 @@ +{ + "version": 1, + "minor_version": 1, + "key": "input_boolean", + "data": { + "items": [ + { + "name": "Mode Away", + "id": "away_mode" + }, + { + "name": "State Office Button Pressed", + "icon": "mdi:state-machine", + "id": "office_button_pressed" + }, + { + "name": "Mode Guests", + "id": "mode_guests" + }, + { + "name": "Mode Alone", + "id": "mode_alone" + }, + { + "name": "Mode Production", + "id": "mode_production" + }, + { + "name": "State Office Knob Pressed", + "id": "state_office_knob_pressed" + }, + { + "name": "Mode House Sleep", + "id": "mode_house_sleep" + }, + { + "name": "Mode House Hibernate", + "id": "mode_house_hibernate" + }, + { + "name": "Mode Bright", + "id": "mode_bright" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/input_button b/.storage/input_button new file mode 100644 index 0000000..f93f6f1 --- /dev/null +++ b/.storage/input_button @@ -0,0 +1,21 @@ +{ + "version": 1, + "minor_version": 1, + "key": "input_button", + "data": { + "items": [ + { + "name": "Button Confirm", + "id": "button_confirm" + }, + { + "name": "Button Ring or Warn", + "id": "button_ring_or_warn" + }, + { + "name": "Button Alert", + "id": "button_alert" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/input_datetime b/.storage/input_datetime new file mode 100644 index 0000000..3a5d0f2 --- /dev/null +++ b/.storage/input_datetime @@ -0,0 +1,8 @@ +{ + "version": 1, + "minor_version": 1, + "key": "input_datetime", + "data": { + "items": [] + } +}
\ No newline at end of file diff --git a/.storage/input_number b/.storage/input_number new file mode 100644 index 0000000..b5a1496 --- /dev/null +++ b/.storage/input_number @@ -0,0 +1,8 @@ +{ + "version": 1, + "minor_version": 1, + "key": "input_number", + "data": { + "items": [] + } +}
\ No newline at end of file diff --git a/.storage/lovelace.lovelace_climate b/.storage/lovelace.lovelace_climate new file mode 100644 index 0000000..b17f2fd --- /dev/null +++ b/.storage/lovelace.lovelace_climate @@ -0,0 +1,164 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_climate", + "data": { + "config": { + "views": [ + { + "title": "Home", + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "title": "Office Climate", + "entities": [ + { + "entity": "sensor.ble_temperature_a4c138bfa169" + }, + { + "entity": "sensor.ble_humidity_a4c138bfa169" + } + ] + }, + { + "type": "entities", + "title": "Office Climate Control", + "entities": [ + { + "entity": "switch.smart_power_strip_pro_socket_2" + }, + { + "entity": "scene.lg_aircon_cool_18" + }, + { + "entity": "scene.lg_aircon_warm_25" + }, + { + "entity": "scene.lg_aircon_power_off" + } + ] + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "sensor.ble_temperature_a4c138bfa169" + }, + { + "entity": "sensor.ble_humidity_a4c138bfa169" + } + ], + "title": "Office Progress", + "hours_to_show": 2 + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "title": "Bedroom Climate", + "entities": [ + { + "entity": "sensor.bedroom_temp_temperature" + }, + { + "entity": "sensor.bedroom_temp_humidity" + }, + { + "entity": "sensor.bedroom_temp_pressure" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.bedroom_aircon" + }, + { + "entity": "scene.hyundai_aircon_cool_18" + }, + { + "entity": "scene.hyundai_aircon_warm_28" + }, + { + "entity": "scene.hyundai_aircon_off" + } + ], + "title": "Bedroom Climate Control" + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "sensor.bedroom_temp_temperature" + }, + { + "entity": "sensor.bedroom_temp_humidity" + }, + { + "entity": "sensor.bedroom_temp_pressure" + } + ], + "title": "Bedroom Progress", + "hours_to_show": 2 + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "sensor.hall_smoke_temperature" + } + ], + "title": "Hall Climate" + }, + { + "show_current": true, + "show_forecast": true, + "type": "weather-forecast", + "entity": "weather.halabyan24", + "name": "Yerevan" + }, + { + "type": "history-graph", + "title": "Trends", + "hours_to_show": 72, + "entities": [ + { + "entity": "sensor.bedroom_temp_temperature" + }, + { + "entity": "sensor.bedroom_temp_humidity" + }, + { + "entity": "sensor.bedroom_temp_pressure" + }, + { + "entity": "sensor.ble_temperature_a4c138bfa169" + }, + { + "entity": "sensor.ble_humidity_a4c138bfa169" + }, + { + "entity": "sensor.hall_smoke_temperature" + } + ] + } + ] + } + ] + } + ] + } + } +}
\ No newline at end of file diff --git a/.storage/lovelace.lovelace_control b/.storage/lovelace.lovelace_control new file mode 100644 index 0000000..6e87b1c --- /dev/null +++ b/.storage/lovelace.lovelace_control @@ -0,0 +1,366 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_control", + "data": { + "config": { + "views": [ + { + "title": "Control", + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:restriction-card", + "restrictions": { + "confirm": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.mode_away", + "name": "Away" + }, + { + "entity": "input_boolean.mode_production", + "name": "Loud" + }, + { + "type": "divider" + }, + { + "entity": "input_boolean.mode_house_sleep", + "name": "House Sleep" + }, + { + "entity": "input_boolean.mode_house_hibernate", + "name": "House Hibernate" + }, + { + "type": "divider" + }, + { + "entity": "input_boolean.mode_bright", + "name": "Bright" + }, + { + "entity": "input_boolean.mode_alone", + "name": "Alone" + }, + { + "entity": "input_boolean.mode_guests", + "name": "Guests" + } + ], + "title": "Modes" + } + }, + { + "type": "custom:restriction-card", + "restrictions": { + "block": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "entities": [ + { + "entity": "switch.bedroom_roof", + "name": "Roof" + }, + { + "entity": "switch.living_office", + "name": "Office" + }, + { + "entity": "switch.smart_power_strip_pro_usb_1", + "name": "SmartPI" + }, + { + "entity": "switch.hall_camera", + "name": "Camera" + } + ], + "title": "Infrastructure" + } + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.entrance_lights_left", + "name": "Toilet" + }, + { + "entity": "switch.entrance_lights_center", + "name": "Entrance" + }, + { + "entity": "switch.hall_lights_left", + "name": "Hall" + }, + { + "entity": "switch.bathroom_lights_left", + "name": "Bathroom" + }, + { + "entity": "switch.bathroom_lights_center", + "name": "Sauna" + }, + { + "entity": "light.aqara_hub_m1s_426c", + "name": "M1S" + } + ], + "title": "Lights" + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "square": true, + "columns": 2, + "type": "grid", + "cards": [ + { + "type": "light", + "entity": "light.yeelight_color_0x7caaf86", + "name": "Office Bulb" + }, + { + "type": "light", + "entity": "light.smart_light", + "name": "Bedroom Bulb" + } + ] + }, + { + "type": "media-control", + "entity": "media_player.smartpi" + }, + { + "square": true, + "columns": 2, + "type": "grid", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "switch.living_lights_left", + "name": "Lustre-1" + }, + { + "entity": "switch.living_lights_center", + "name": "Lustre-2" + }, + { + "entity": "light.yeelight_color_0x7caaf86", + "name": "Bulb" + }, + { + "entity": "switch.living_tablelamp", + "name": "DeskLamp" + } + ], + "title": "Living Lights" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "switch.smart_power_strip_pro_socket_2", + "name": "AirCon" + }, + { + "entity": "switch.office_aircon", + "name": "Power" + } + ], + "title": "Living Plugs" + }, + { + "type": "custom:restriction-card", + "restrictions": { + "confirm": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "entities": [ + { + "entity": "switch.smart_power_strip_pro_socket_1", + "name": "Table" + }, + { + "entity": "switch.office_table", + "name": "Power" + }, + { + "entity": "switch.smart_power_strip_pro_socket_4", + "name": "Top" + }, + { + "entity": "switch.office_shelftop", + "name": "Power" + }, + { + "entity": "switch.smart_power_strip_pro_socket_3", + "name": "Bottom" + }, + { + "entity": "switch.office_shelfbottom", + "name": "Power" + } + ], + "title": "Office Plugs" + } + } + ] + } + ] + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "square": true, + "columns": 2, + "type": "grid", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "switch.bedroom_lights_left", + "name": "Lustre-1" + }, + { + "entity": "switch.bedroom_lights_center", + "name": "Lustre-2" + }, + { + "entity": "light.smart_light", + "name": "Bulb" + }, + { + "entity": "switch.bedroom_tablelamp", + "name": "DeskLamp" + }, + { + "entity": "binary_sensor.bedroom_bedsidelamp", + "name": "BedLED" + } + ], + "title": "Bedroom Lights" + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.bedroom_aircon", + "name": "AirCon" + }, + { + "entity": "switch.bedroom_bedsidelampsocket", + "name": "BedLamp" + } + ], + "title": "Bedroom Plugs" + } + ] + }, + { + "square": true, + "columns": 2, + "type": "grid", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "switch.kitchen_lights_left", + "name": "Lustre" + }, + { + "entity": "switch.kitchen_ledlights", + "name": "LED" + } + ], + "title": "Kitchen Lights" + }, + { + "type": "custom:restriction-card", + "restrictions": { + "confirm": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "entities": [ + { + "entity": "switch.kitchen_oven", + "name": "Oven" + }, + { + "entity": "switch.kitchen_wash", + "title": "Wash" + }, + { + "entity": "switch.kitchen_teatable", + "title": "Table" + } + ], + "title": "Kitchen Plugs" + } + } + ] + }, + { + "square": true, + "columns": 2, + "type": "grid", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "switch.guestroom_lights_left", + "name": "Lustre-1" + }, + { + "entity": "switch.guestroom_lights_right", + "name": "Lustre-2" + } + ], + "title": "Guest Lights" + }, + { + "type": "entities", + "entities": [], + "title": "Guest Plugs" + } + ] + } + ] + } + ] + } + ] + } + } +}
\ No newline at end of file diff --git a/.storage/lovelace.lovelace_power b/.storage/lovelace.lovelace_power new file mode 100644 index 0000000..b50b8ab --- /dev/null +++ b/.storage/lovelace.lovelace_power @@ -0,0 +1,266 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_power", + "data": { + "config": { + "views": [ + { + "theme": "Backend-selected", + "title": "Home", + "type": "custom:grid-layout", + "layout": { + "max_cols": 4, + "grid-template-columns": "25% 25% 25% 25%", + "grid-template-rows": "auto", + "mediaquery": { + "(max-width: 600px)": { + "grid-template-columns": "100%" + }, + "(max-width: 1200px)": { + "grid-template-columns": "50% 50%" + } + } + }, + "badges": [], + "cards": [ + { + "type": "entities", + "title": "Infrastructure", + "entities": [ + { + "entity": "sensor.bedroom_roof_power" + }, + { + "entity": "sensor.hall_camera_power" + }, + { + "entity": "sensor.power_smartpi" + } + ] + }, + { + "type": "entities", + "title": "Office", + "entities": [ + { + "entity": "sensor.living_office_power" + }, + { + "entity": "sensor.office_shelfbottom_power" + }, + { + "entity": "sensor.office_shelftop_power" + }, + { + "entity": "sensor.office_table_power" + } + ] + }, + { + "type": "entities", + "title": "Appliances", + "entities": [ + { + "entity": "sensor.kitchen_oven_power" + }, + { + "entity": "sensor.kitchen_wash_power" + }, + { + "entity": "sensor.kitchen_teatable_power" + }, + { + "entity": "sensor.office_aircon_power" + }, + { + "entity": "sensor.bedroom_aircon_power" + } + ] + }, + { + "type": "entities", + "title": "Lights", + "entities": [ + { + "entity": "sensor.kitchen_ledlights_power" + }, + { + "entity": "sensor.bedroom_bedsidelampsocket_power" + }, + { + "entity": "sensor.bedroom_tablelamp_power" + }, + { + "entity": "sensor.living_tablelamp_power" + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "entities": [ + { + "entity": "sensor.bedroom_roof_power" + }, + { + "entity": "sensor.hall_camera_power" + } + ], + "hours_to_show": 24, + "title": "Infrastructure (24h)" + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.bedroom_roof_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.hall_camera_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.power_smartpi", + "detail": 2 + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "entities": [ + { + "entity": "sensor.office_shelfbottom_power" + }, + { + "entity": "sensor.office_shelftop_power" + }, + { + "entity": "sensor.office_table_power" + } + ], + "hours_to_show": 24, + "title": "Office (24h)" + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.living_office_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.office_shelfbottom_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.office_shelftop_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.office_table_power", + "detail": 2 + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "entities": [ + { + "entity": "sensor.kitchen_oven_power" + }, + { + "entity": "sensor.kitchen_wash_power" + }, + { + "entity": "sensor.kitchen_teatable_power" + } + ], + "hours_to_show": 24, + "title": "Kitchen (24h)" + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.kitchen_oven_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.kitchen_wash_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.kitchen_teatable_power", + "detail": 2 + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "entities": [ + { + "entity": "sensor.office_aircon_power" + }, + { + "entity": "sensor.bedroom_aircon_power" + } + ], + "hours_to_show": 24, + "title": "Climate (24h)" + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.office_aircon_power", + "detail": 2 + }, + { + "hours_to_show": 24, + "graph": "line", + "type": "sensor", + "entity": "sensor.bedroom_aircon_power", + "detail": 2 + } + ] + } + ] + } + ] + } + } +}
\ No newline at end of file diff --git a/.storage/lovelace.lovelace_research b/.storage/lovelace.lovelace_research new file mode 100644 index 0000000..dffc4a1 --- /dev/null +++ b/.storage/lovelace.lovelace_research @@ -0,0 +1,185 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_research", + "data": { + "config": { + "views": [ + { + "title": "Home", + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:restriction-card", + "restrictions": { + "confirm": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.mode_away" + }, + { + "entity": "input_boolean.mode_production" + }, + { + "entity": "select.entrance_vibrations_sensitivity" + } + ], + "title": "Mode" + } + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.entrance_door_contact" + }, + { + "entity": "sensor.entrance_vibrations_action" + }, + { + "entity": "binary_sensor.motions_all" + }, + { + "entity": "switch.lights_all" + } + ], + "title": "Intrusion" + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.hall_smoke_smoke" + }, + { + "entity": "sensor.kitchen_gas_carbon_monoxide" + }, + { + "entity": "binary_sensor.bathroom_leak_water_leak" + }, + { + "entity": "binary_sensor.kitchen_door_contact" + }, + { + "entity": "sensor.living_office_device_temperature" + } + ], + "title": "Safety" + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.hall_smoke_smoke", + "name": "Smoke" + }, + { + "entity": "binary_sensor.kitchen_gas", + "name": "Gas (CO)" + }, + { + "entity": "binary_sensor.bathroom_leak_water_leak", + "name": "Water Leak" + } + ], + "hours_to_show": 48, + "title": "Safety (Last 48 hours)" + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.entrance_door_contact", + "name": "Entrance Door" + }, + { + "entity": "binary_sensor.kitchen_door_contact", + "name": "Kitchen Door" + }, + { + "entity": "binary_sensor.entrance_vibrations_vibration", + "name": "Vibrations" + }, + { + "entity": "sensor.entrance_vibrations_strength", + "name": "Strength" + }, + { + "entity": "sensor.hall_motions_illuminance_lux", + "name": "Illumination Hall" + }, + { + "entity": "switch.lights_all", + "name": "All Lights" + } + ], + "hours_to_show": 48, + "title": "Intrusion (Last 48 hours)" + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Hall" + }, + { + "entity": "binary_sensor.office_motions_occupancy", + "name": "Office" + }, + { + "entity": "binary_sensor.living_motions_occupancy", + "name": "Living" + }, + { + "entity": "binary_sensor.bedroom_motions_occupancy", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Kitchen" + } + ], + "hours_to_show": 48, + "title": "Motions (Last 48 hours)" + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "picture-entity", + "entity": "camera.192_168_50_51" + }, + { + "type": "logbook", + "entities": [ + "binary_sensor.entrance_door_contact", + "sensor.entrance_vibrations_strength", + "binary_sensor.hall_motions_occupancy", + "sensor.entrance_vibrations_action" + ], + "hours_to_show": 24, + "title": "Logs" + } + ] + } + ] + } + ] + } + } +}
\ No newline at end of file diff --git a/.storage/lovelace.lovelace_status b/.storage/lovelace.lovelace_status new file mode 100644 index 0000000..a5ea896 --- /dev/null +++ b/.storage/lovelace.lovelace_status @@ -0,0 +1,256 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_status", + "data": { + "config": { + "views": [ + { + "title": "Home", + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:restriction-card", + "restrictions": { + "block": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "title": "Plugs", + "entities": [ + { + "entity": "switch.plugs_infrastructure", + "name": "Infrastructure" + }, + { + "entity": "switch.plugs_manual", + "name": "Manual Sockets" + }, + { + "entity": "switch.plugs_controlled", + "name": "Controlled Sockets" + }, + { + "entity": "switch.plugs_office", + "name": "Office Sockets" + } + ] + } + }, + { + "type": "custom:restriction-card", + "restrictions": { + "confirm": { + "exemptions": null + } + }, + "card": { + "type": "entities", + "title": "Manual Plugs", + "entities": [ + { + "entity": "switch.plugs_kitchen", + "name": "Kitchen" + }, + { + "entity": "switch.plugs_office", + "name": "Office All" + }, + { + "entity": "switch.smart_power_strip_pro_socket_1", + "name": "Office Desk" + }, + { + "entity": "switch.bedroom_bedsidelampsocket", + "name": "Bedside" + } + ] + } + }, + { + "type": "entities", + "title": "Lights", + "entities": [ + { + "entity": "switch.lights_living", + "name": "Living Room" + }, + { + "entity": "switch.lights_bedroom", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.bedroom_bedsidelamp", + "name": "Bedside LED" + }, + { + "entity": "switch.lights_guest", + "name": "Guestroom" + }, + { + "entity": "switch.lights_kitchen", + "name": "Kitchen" + }, + { + "entity": "switch.lights_bathroom", + "name": "Bathroom/Toilet" + }, + { + "entity": "switch.lights_hall", + "name": "Hall" + } + ] + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Hall" + }, + { + "entity": "binary_sensor.office_motions_occupancy", + "name": "Office" + }, + { + "entity": "binary_sensor.living_motions_occupancy", + "name": "Living" + }, + { + "entity": "binary_sensor.bedroom_motions_occupancy", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Kitchen" + } + ], + "title": "Motions" + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Hall" + }, + { + "entity": "binary_sensor.living_motions_occupancy", + "name": "Living" + }, + { + "entity": "binary_sensor.office_motions_occupancy", + "name": "Office" + }, + { + "entity": "binary_sensor.bedroom_motions_occupancy", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Kitchen" + } + ], + "hours_to_show": 2, + "title": "2 hours" + }, + { + "type": "entities", + "entities": [ + { + "entity": "sensor.192_168_50_1_devices_connected", + "name": "Asgard clients" + }, + { + "entity": "device_tracker.legion8", + "name": "Legion8/Asgard" + }, + { + "entity": "device_tracker.lm_g810", + "name": "Legion8/Hass" + }, + { + "entity": "device_tracker.nyx", + "name": "Nyx/Asgard" + } + ] + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "title": "Power (24h -> 2h)", + "entities": [ + { + "entity": "sensor.power_infrastructure" + }, + { + "entity": "sensor.power_office" + }, + { + "entity": "sensor.power_kitchen" + }, + { + "entity": "sensor.power_climate" + }, + { + "entity": "sensor.power_lights" + } + ], + "hours_to_show": 24 + }, + { + "hours_to_show": 2, + "graph": "line", + "type": "sensor", + "entity": "sensor.power_infrastructure", + "detail": 2 + }, + { + "hours_to_show": 2, + "graph": "line", + "type": "sensor", + "entity": "sensor.power_office", + "detail": 2 + }, + { + "hours_to_show": 2, + "graph": "line", + "type": "sensor", + "entity": "sensor.power_kitchen", + "detail": 2 + }, + { + "hours_to_show": 2, + "graph": "line", + "type": "sensor", + "entity": "sensor.power_climate", + "detail": 2 + }, + { + "hours_to_show": 2, + "graph": "line", + "type": "sensor", + "entity": "sensor.power_lights", + "detail": 2 + } + ] + } + ] + } + ] + } + } +}
\ No newline at end of file diff --git a/.storage/lovelace.lovelace_test b/.storage/lovelace.lovelace_test new file mode 100644 index 0000000..d9477fe --- /dev/null +++ b/.storage/lovelace.lovelace_test @@ -0,0 +1,402 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_test", + "data": { + "config": { + "views": [ + { + "theme": "Backend-selected", + "title": "Home", + "type": "custom:grid-layout", + "layout": { + "max_cols": 4, + "grid-template-columns": "25% 25% 25% 25%", + "grid-template-rows": "auto", + "mediaquery": { + "(max-width: 600px)": { + "grid-template-columns": "100%" + }, + "(max-width: 1200px)": { + "grid-template-columns": "50% 50%" + }, + "(max-width: 1800px)": { + "grid-template-columns": "33% 33% 33%" + } + } + }, + "badges": [], + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.entrance_door_contact", + "name": "Contact" + }, + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Motions" + }, + { + "entity": "binary_sensor.entrance_vibrations_vibration", + "name": "Vibration" + }, + { + "entity": "sensor.entrance_vibrations_strength", + "name": "Strength" + } + ], + "hours_to_show": 1, + "title": "Vibration Sensor (1h)" + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Hall" + }, + { + "entity": "binary_sensor.office_motions_occupancy", + "name": "Office" + }, + { + "entity": "binary_sensor.living_motions_occupancy", + "name": "Living" + }, + { + "entity": "binary_sensor.bedroom_motions_occupancy", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Kitchen" + } + ], + "title": "Motions" + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Hall" + }, + { + "entity": "binary_sensor.living_motions_occupancy", + "name": "Living" + }, + { + "entity": "binary_sensor.office_motions_occupancy", + "name": "Office" + }, + { + "entity": "binary_sensor.bedroom_motions_occupancy", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Kitchen" + } + ], + "hours_to_show": 1, + "title": "Motion Sensors (1h)" + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "binary_sensor.hall_motions_occupancy", + "name": "Hall" + }, + { + "entity": "binary_sensor.living_motions_occupancy", + "name": "Living" + }, + { + "entity": "binary_sensor.office_motions_occupancy", + "name": "Office" + }, + { + "entity": "binary_sensor.bedroom_motions_occupancy", + "name": "Bedroom" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Kitchen" + } + ], + "hours_to_show": 12, + "title": "Motion Sensors (12h)" + }, + { + "type": "entities", + "entities": [ + { + "entity": "group.master_phones", + "name": "Phones" + }, + { + "entity": "group.master_laptops", + "name": "Laptops" + }, + { + "entity": "sensor.192_168_50_1_devices_connected", + "name": "Asgard clients" + }, + { + "type": "divider" + }, + { + "entity": "device_tracker.legion8", + "name": "Legion8/Asgard" + }, + { + "entity": "device_tracker.lm_g810", + "name": "Legion8/Hass" + }, + { + "entity": "device_tracker.nyx", + "name": "Nyx/Asgard" + } + ] + }, + { + "type": "history-graph", + "entities": [ + { + "entity": "group.master_phones", + "name": "Phones" + }, + { + "entity": "group.master_laptops", + "name": "Laptops" + }, + { + "entity": "device_tracker.legion8", + "name": "Legion8/Asgard" + }, + { + "entity": "device_tracker.lm_g810", + "name": "Legion8/Hass" + }, + { + "entity": "device_tracker.nyx", + "name": "Nyx/Asgard" + }, + { + "entity": "sensor.192_168_50_1_devices_connected", + "name": "Asgard clients" + } + ], + "hours_to_show": 12 + } + ] + }, + { + "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.hall_lights_left", + "name": "Hall Light" + }, + { + "entity": "switch.entrance_lights_left", + "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" + }, + { + "entity": "switch.kitchen_lights_center", + "name": "LED" + }, + { + "entity": "binary_sensor.kitchen_motions_occupancy", + "name": "Motions" + }, + { + "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.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": [ + { + "type": "entities", + "entities": [ + { + "entity": "input_number.knob_office_current" + }, + { + "entity": "input_number.knob_office_brightness0" + }, + { + "entity": "input_number.knob_office_temperature0" + }, + { + "entity": "input_number.knob_office_hue0" + }, + { + "entity": "input_number.knob_office_brightness1" + }, + { + "entity": "input_number.knob_office_temperature1" + }, + { + "entity": "input_number.knob_office_hue1" + } + ], + "title": "Knob Control" + } + ] + } + ] + } + ] + } + } +}
\ No newline at end of file diff --git a/.storage/lovelace_dashboards b/.storage/lovelace_dashboards new file mode 100644 index 0000000..4e4a887 --- /dev/null +++ b/.storage/lovelace_dashboards @@ -0,0 +1,63 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace_dashboards", + "data": { + "items": [ + { + "show_in_sidebar": true, + "title": "Security", + "require_admin": false, + "mode": "storage", + "url_path": "lovelace-research", + "id": "lovelace_research", + "icon": "mdi:security" + }, + { + "show_in_sidebar": true, + "icon": "mdi:lamps", + "title": "Status", + "require_admin": false, + "mode": "storage", + "url_path": "lovelace-status", + "id": "lovelace_status" + }, + { + "show_in_sidebar": true, + "icon": "mdi:air-conditioner", + "title": "Climate", + "require_admin": false, + "mode": "storage", + "url_path": "lovelace-climate", + "id": "lovelace_climate" + }, + { + "show_in_sidebar": true, + "icon": "mdi:gesture-tap", + "title": "Control", + "require_admin": false, + "mode": "storage", + "url_path": "lovelace-control", + "id": "lovelace_control" + }, + { + "show_in_sidebar": true, + "icon": "mdi:sine-wave", + "title": "Power", + "require_admin": false, + "mode": "storage", + "url_path": "lovelace-power", + "id": "lovelace_power" + }, + { + "show_in_sidebar": true, + "icon": "mdi:flask-outline", + "title": "Research", + "require_admin": false, + "mode": "storage", + "url_path": "lovelace-test", + "id": "lovelace_test" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/lovelace_resources b/.storage/lovelace_resources new file mode 100644 index 0000000..e468e69 --- /dev/null +++ b/.storage/lovelace_resources @@ -0,0 +1,19 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace_resources", + "data": { + "items": [ + { + "url": "/local/community/lovelace-layout-card/layout-card.js", + "type": "module", + "id": "1ff60dcd5dcd4490bc7f3f0c5a2fcdbc" + }, + { + "url": "/local/community/restriction-card/restriction-card.js?hacstag=215633404127", + "type": "module", + "id": "85c450ddee1d420e973dbe6346afe952" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/person b/.storage/person new file mode 100644 index 0000000..4ed5236 --- /dev/null +++ b/.storage/person @@ -0,0 +1,17 @@ +{ + "version": 2, + "minor_version": 1, + "key": "person", + "data": { + "items": [ + { + "name": "Suren A. Chilingaryan", + "user_id": "31a296cc30a243089f121cef93b46cc0", + "device_trackers": [ + "device_tracker.lm_g810" + ], + "id": "suren_a_chilingaryan" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/tag b/.storage/tag new file mode 100644 index 0000000..1436d47 --- /dev/null +++ b/.storage/tag @@ -0,0 +1,15 @@ +{ + "version": 1, + "minor_version": 1, + "key": "tag", + "data": { + "items": [ + { + "tag_id": "8acfd2d9-0f48-425a-94ab-fb466db77c30", + "name": "Test", + "id": "8acfd2d9-0f48-425a-94ab-fb466db77c30", + "last_scanned": "2023-01-09T02:09:31.722141+00:00" + } + ] + } +}
\ No newline at end of file diff --git a/.storage/zone b/.storage/zone new file mode 100644 index 0000000..11b7a98 --- /dev/null +++ b/.storage/zone @@ -0,0 +1,18 @@ +{ + "version": 1, + "minor_version": 1, + "key": "zone", + "data": { + "items": [ + { + "latitude": 40.20070712833234, + "longitude": 44.47609064687973, + "name": "HomeHalabyanExtended", + "icon": "mdi:map-marker", + "passive": false, + "radius": 856.0, + "id": "homehalabyan" + } + ] + } +}
\ No newline at end of file |