{ "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": "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": "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": "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" } ] }, { "type": "vertical-stack", "cards": [ { "type": "entities", "entities": [ { "entity": "input_boolean.occupancy_toilet", "name": "Toilet" }, { "entity": "input_boolean.occupancy_bathroom", "name": "Bathroom" } ], "title": "Occupancy" }, { "type": "entities", "entities": [ { "entity": "binary_sensor.hall_motions_occupancy", "name": "Hall" }, { "type": "divider" }, { "entity": "binary_sensor.kitchen_motions_occupancy", "name": "Kitchen" }, { "entity": "binary_sensor.kitchen_presence_presence", "name": "Presence" }, { "type": "divider" }, { "entity": "binary_sensor.bathroom_motions2_occupancy", "name": "Bathroom" }, { "entity": "binary_sensor.bathroom_motions_occupancy", "name": "Door" }, { "type": "divider" }, { "entity": "binary_sensor.toilet_motions_occupancy", "name": "Toilet" }, { "entity": "binary_sensor.toilet_door_contact", "name": "Door" }, { "type": "divider" }, { "entity": "binary_sensor.presence_presence", "name": "Living" }, { "entity": "sensor.presence_target_distance", "name": "Distance" }, { "type": "divider" }, { "entity": "binary_sensor.bedroom_motions_occupancy", "name": "Bedroom" }, { "entity": "binary_sensor.bedroom_presence_presence", "name": "Presence" }, { "entity": "binary_sensor.guestroom_motions_occupancy", "name": "Guestroom" } ] }, { "type": "history-graph", "entities": [ { "entity": "binary_sensor.hall_motions_occupancy", "name": "Hall" }, { "entity": "binary_sensor.kitchen_motions_occupancy", "name": "Kitchen" }, { "entity": "binary_sensor.kitchen_presence_presence", "name": "Presence" }, { "entity": "binary_sensor.bathroom_motions2_occupancy", "name": "Bathroom" }, { "entity": "binary_sensor.bathroom_motions_occupancy", "name": "Door" }, { "entity": "binary_sensor.toilet_motions_occupancy", "name": "Toilet" }, { "entity": "binary_sensor.toilet_door_contact", "name": "Door" }, { "entity": "binary_sensor.presence_presence", "name": "Living" }, { "entity": "binary_sensor.bedroom_motions_occupancy", "name": "Bedroom" }, { "entity": "binary_sensor.bedroom_presence_presence", "name": "Presence" }, { "entity": "binary_sensor.guestroom_motions_occupancy", "name": "Guestroom" } ], "hours_to_show": 1, "title": "Motion Sensors (1h)" }, { "type": "history-graph", "entities": [ { "entity": "binary_sensor.hall_motions_occupancy", "name": "Hall" }, { "entity": "binary_sensor.kitchen_motions_occupancy", "name": "Kitchen" }, { "entity": "binary_sensor.kitchen_presence_presence", "name": "Presence" }, { "entity": "binary_sensor.bathroom_motions2_occupancy", "name": "Bathroom" }, { "entity": "binary_sensor.bathroom_motions_occupancy", "name": "Door" }, { "entity": "binary_sensor.toilet_motions_occupancy", "name": "Toilet" }, { "entity": "binary_sensor.toilet_door_contact", "name": "Door" }, { "entity": "binary_sensor.presence_presence", "name": "Living" }, { "entity": "binary_sensor.bedroom_motions_occupancy", "name": "Bedroom" }, { "entity": "binary_sensor.bedroom_presence_presence", "name": "Presence" }, { "entity": "binary_sensor.guestroom_motions_occupancy", "name": "Guestroom" } ], "hours_to_show": 12, "title": "Motion Sensors (12h)" }, { "type": "history-graph", "entities": [ { "entity": "binary_sensor.presence_presence", "name": "Living" }, { "entity": "sensor.presence_target_distance", "name": "Living" }, { "entity": "binary_sensor.bedroom_presence_presence", "name": "Bedroom" }, { "entity": "sensor.bedroom_presence_target_distance", "name": "Bedroom" }, { "entity": "binary_sensor.kitchen_presence_presence", "name": "Kitchen" }, { "entity": "sensor.kitchen_presence_target_distance", "name": "Kitchen" } ], "hours_to_show": 1, "title": "Presence (1h)" }, { "type": "history-graph", "entities": [ { "entity": "binary_sensor.presence_presence", "name": "Living" }, { "entity": "sensor.presence_target_distance", "name": "Living" }, { "entity": "binary_sensor.bedroom_presence_presence", "name": "Bedroom" }, { "entity": "sensor.bedroom_presence_target_distance", "name": "Bedroom" }, { "entity": "binary_sensor.kitchen_presence_presence", "name": "Kitchen" }, { "entity": "sensor.kitchen_presence_target_distance", "name": "Kitchen" } ], "hours_to_show": 12, "title": "Presence (12h)" } ] }, { "type": "vertical-stack", "cards": [ { "type": "entities", "entities": [ { "entity": "sensor.bedroom_tablelamp_voltage", "name": "L1/Lamp" }, { "entity": "sensor.living_tablelampsocket_voltage", "name": "L2/Lamp" }, { "type": "divider" }, { "entity": "sensor.hall_camera_voltage", "name": "L1/Camera" }, { "entity": "sensor.hall_infra_voltage", "name": "L1/Infra" }, { "type": "divider" }, { "entity": "sensor.kitchen_oven_voltage", "name": "L2/Kitchen/Oven" }, { "entity": "sensor.kitchen_wash_voltage", "name": "L2/Kitchen/Washers" }, { "entity": "sensor.kitchen_teatable_voltage", "name": "L2/Kitchen/Tea" }, { "entity": "sensor.office_table_voltage", "name": "L2/Office/Table" }, { "entity": "sensor.office_shelftop_voltage", "name": "L2/Office/Top" }, { "entity": "sensor.office_shelfbottom_voltage", "name": "L2/Office/Bottom" }, { "entity": "sensor.office_smartpi_energy_voltage", "name": "L2/Office/SmartPI" }, { "type": "divider" }, { "entity": "sensor.bedroom_aircon_voltage", "name": "L1/AirCon" }, { "entity": "sensor.office_aircon_voltage", "name": "L2/AirCon" } ], "title": "Voltages" }, { "type": "history-graph", "hours_to_show": 24, "title": "L1 vs L2 (24h)", "entities": [ { "entity": "sensor.bedroom_tablelamp_voltage", "name": "L1/Lamp" }, { "entity": "sensor.living_tablelampsocket_voltage", "name": "L2/Lamp" } ] }, { "type": "history-graph", "hours_to_show": 24, "title": "L1 (24h)", "entities": [ { "entity": "sensor.bedroom_tablelamp_voltage", "name": "L1/Lamp" }, { "entity": "sensor.hall_camera_voltage", "name": "L1/Camera" }, { "entity": "sensor.hall_infra_voltage", "name": "L1/Infra" } ] }, { "type": "history-graph", "hours_to_show": 24, "title": "L2 (24h)", "entities": [ { "entity": "sensor.living_tablelampsocket_voltage", "name": "L2/Lamp" }, { "entity": "sensor.kitchen_oven_voltage", "name": "L2/Kitchen/Oven" }, { "entity": "sensor.kitchen_wash_voltage", "name": "L2/Kitchen/Washers" }, { "entity": "sensor.kitchen_teatable_voltage", "name": "L2/Kitchen/Tea" }, { "entity": "sensor.office_table_voltage", "name": "L2/Office/Table" }, { "entity": "sensor.office_shelftop_voltage", "name": "L2/Office/Top" }, { "entity": "sensor.office_shelfbottom_voltage", "name": "L2/Office/Bottom" } ] }, { "type": "history-graph", "hours_to_show": 24, "title": "Strange (24h)", "entities": [ { "entity": "sensor.office_smartpi_energy_voltage", "name": "L2/Office/SmartPI" } ] } ] }, { "type": "vertical-stack", "cards": [ { "type": "entities", "entities": [ { "entity": "switch.hall_lights_left", "name": "Hall Light" }, { "entity": "switch.entrance_lights_left", "name": "Entrance Light" }, { "entity": "switch.kitchen_lights_left", "name": "Kitchen/Lustre" }, { "entity": "switch.kitchen_lights_center", "name": "Kitchen/LED" }, { "type": "divider" }, { "entity": "binary_sensor.hall_motions_occupancy", "name": "Motions/Hall" }, { "entity": "binary_sensor.kitchen_motions_occupancy", "name": "Motions/Kitchen" }, { "type": "divider" }, { "entity": "sensor.hall_motions_illuminance_lux", "name": "Lux/Hall" }, { "entity": "sensor.kitchen_motions_illuminance_lux", "name": "Lux/Kitchen" } ] }, { "type": "entities", "entities": [ { "entity": "sensor.hall_motions_illuminance_lux", "name": "Hall" }, { "entity": "sensor.kitchen_motions_illuminance_lux", "name": "Kitchen" }, { "entity": "sensor.presence_illuminance_lux", "name": "Living" }, { "entity": "sensor.bedroom_motions_illuminance_lux", "name": "Bedroom" }, { "entity": "sensor.guestroom_motions_illuminance_lux", "name": "Guestroom" } ], "title": "Illuminance" }, { "type": "history-graph", "entities": [ { "entity": "sensor.hall_motions_illuminance_lux", "name": "Hall" }, { "entity": "sensor.kitchen_motions_illuminance_lux", "name": "Kitchen" }, { "entity": "sensor.presence_illuminance_lux", "name": "Living" }, { "entity": "sensor.bedroom_motions_illuminance_lux", "name": "Bedroom" }, { "entity": "sensor.guestroom_motions_illuminance_lux", "name": "Guestroom" } ], "hours_to_show": 1, "title": "Illuminance (1h)" }, { "type": "history-graph", "entities": [ { "entity": "sensor.hall_motions_illuminance_lux", "name": "Hall" }, { "entity": "sensor.kitchen_motions_illuminance_lux", "name": "Kitchen" }, { "entity": "sensor.presence_illuminance_lux", "name": "Living" }, { "entity": "sensor.bedroom_motions_illuminance_lux", "name": "Bedroom" }, { "entity": "sensor.guestroom_motions_illuminance_lux", "name": "Guestroom" } ], "hours_to_show": 12, "title": "Illuminance (12h)" }, { "type": "history-graph", "entities": [ { "entity": "switch.hall_lights_left", "name": "Hall Light" }, { "entity": "switch.entrance_lights_left", "name": "Entrance Light" }, { "entity": "switch.kitchen_lights_left", "name": "Kitchen/Lustre" }, { "entity": "switch.kitchen_lights_center", "name": "Kitchen/LED" }, { "entity": "switch.living_lights_left", "name": "Living/Lustre1" }, { "entity": "switch.living_lights_center", "name": "Living/Lustre2" }, { "entity": "switch.living_lights_right", "name": "Living/Office" }, { "entity": "switch.bathroom_lights_left", "name": "Bedroom/Lustre1" }, { "entity": "switch.bedroom_lights_center", "name": "Bedroom/Lustre1" }, { "entity": "switch.bathroom_lights_left", "name": "Bathroom/Light" }, { "entity": "switch.entrance_lights_left", "name": "Toilet/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": "switch.hall_lights_left", "name": "Hall Light" }, { "entity": "switch.entrance_lights_left", "name": "Entrance Light" }, { "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": "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)" } ] } } ] } ] } } }