{ "version": 1, "minor_version": 1, "key": "lovelace.dashboard_sthome", "data": { "config": { "title": "Home", "resources": [ { "url": "/local/button-card.js", "type": "module" } ], "views": [ { "path": "default_view", "title": "Home", "cards": [ { "type": "weather-forecast", "entity": "weather.forecast_home", "show_forecast": true }, { "type": "entity-filter", "entities": [ "device_tracker.sm_n986b", "device_tracker.nokia_c20", "device_tracker.sm_x115" ], "state_filter": [ "home" ], "card": { "type": "glance", "title": "People that are home" } }, { "type": "media-control", "entity": "media_player.smart_tv" }, { "type": "entities", "entities": [ { "entity": "switch.sthome_ut1_relay_2", "name": "Relay 2" }, { "entity": "switch.sthome_ut1_relay_3", "name": "Relay 3" }, { "entity": "binary_sensor.gate_lock", "name": "Gate lock" }, { "entity": "switch.sthome_ut4_relay_6", "name": "Open/Close gate" } ], "title": "House" }, { "type": "entities", "entities": [ { "entity": "counter.backyard_person_alarm_counter" }, { "entity": "counter.driveway_person_alarm_counter" }, { "entity": "counter.east_wall_person_alarm_counter" }, { "entity": "counter.patio_person_alarm_counter" }, { "entity": "counter.west_wall_person_alarm_counter" }, { "entity": "counter.sm_n986b_notification_counter" }, { "entity": "counter.sm_x115_notification_counter" }, { "entity": "counter.nokia_c20_notification_counter" } ], "title": "Counters" }, { "type": "grid", "square": false, "columns": 1, "cards": [ { "type": "entities", "entities": [ "remote.xiaomi_tv_box" ], "title": "Xiaomi TV Box" }, { "type": "media-control", "entity": "media_player.xiaomi_tv_box_2" } ] }, { "type": "grid", "square": false, "columns": 1, "cards": [ { "type": "entities", "entities": [ "remote.nova" ], "title": "NOVA" }, { "type": "media-control", "entity": "media_player.nova" } ] } ], "type": "masonry", "icon": "mdi:home", "badges": [ { "type": "entity", "show_name": true, "show_state": false, "show_icon": true, "entity": "binary_sensor.alarm_triggered", "color": "red", "name": "Alarm", "show_entity_picture": false, "tap_action": { "action": "navigate", "navigation_path": "/dashboard-sthome/alarm" } } ] }, { "title": "Security Cameras", "cards": [], "icon": "mdi:cctv", "type": "sections", "sections": [ { "type": "grid", "cards": [ { "type": "heading", "heading": "Cameras", "heading_style": "title", "icon": "mdi:cctv" }, { "show_state": true, "show_name": true, "camera_view": "auto", "type": "picture-entity", "entity": "camera.driveway", "grid_options": { "columns": 12, "rows": "auto" } }, { "show_state": true, "show_name": true, "camera_view": "auto", "type": "picture-entity", "entity": "camera.patio", "grid_options": { "columns": 6, "rows": "auto" } }, { "show_state": true, "show_name": true, "camera_view": "auto", "type": "picture-entity", "entity": "camera.eastwall", "grid_options": { "columns": 6, "rows": "auto" } }, { "show_state": true, "show_name": true, "camera_view": "auto", "type": "picture-entity", "entity": "camera.westwall", "grid_options": { "columns": 6, "rows": "auto" } }, { "show_state": true, "show_name": true, "camera_view": "auto", "type": "picture-entity", "entity": "camera.backyard", "grid_options": { "columns": 6, "rows": "auto" } } ], "column_span": 1 }, { "type": "grid", "cards": [ { "type": "heading", "heading": "Detections", "heading_style": "title" }, { "type": "picture", "image_entity": "image.driveway_person", "grid_options": { "columns": 6, "rows": "auto" } }, { "type": "picture", "image_entity": "image.driveway_car", "grid_options": { "columns": 6, "rows": "auto" } }, { "type": "picture", "image_entity": "image.eastwall_person", "grid_options": { "columns": 6, "rows": "auto" } }, { "type": "picture", "image_entity": "image.patio_person", "grid_options": { "columns": 6, "rows": "auto" } }, { "type": "picture", "image_entity": "image.westwall_person", "grid_options": { "columns": 6, "rows": "auto" } }, { "type": "picture", "image_entity": "image.backyard_person", "grid_options": { "columns": 6, "rows": "auto" } } ] } ], "header": { "card": { "type": "markdown", "text_only": true, "content": "Security Cameras" } }, "max_columns": 4, "dense_section_placement": true, "badges": [ { "type": "entity", "entity": "counter.driveway_person_alarm_counter" }, { "type": "entity", "entity": "counter.east_wall_person_alarm_counter" }, { "type": "entity", "entity": "counter.patio_person_alarm_counter" }, { "type": "entity", "entity": "counter.west_wall_person_alarm_counter" }, { "type": "entity", "entity": "counter.backyard_person_alarm_counter" } ] }, { "type": "sections", "max_columns": 4, "subview": true, "path": "alarm", "title": "Alarm", "icon": "mdi:alarm-light", "sections": [ { "type": "grid", "cards": [ { "type": "heading", "heading": "Settings", "heading_style": "title" }, { "show_name": true, "show_icon": true, "type": "button", "entity": "input_boolean.enable_person_detect_alarm", "name": "Enable Camera Alarm" }, { "show_name": true, "show_icon": true, "type": "button", "entity": "input_boolean.notify_nokia_c20", "show_state": false }, { "show_name": true, "show_icon": true, "type": "button", "entity": "input_boolean.notify_sm_n986b" }, { "show_name": true, "show_icon": true, "type": "button", "entity": "input_boolean.notify_sm_x115" } ] } ], "cards": [], "badges": [ { "type": "entity", "show_name": true, "show_state": true, "show_icon": true, "entity": "binary_sensor.alarm_triggered", "show_entity_picture": true, "color": "red", "name": "Siren" }, { "type": "entity", "show_name": true, "show_state": true, "show_icon": true, "entity": "binary_sensor.zone_4_triggered", "color": "red", "name": "Zone 4" }, { "type": "entity", "show_name": true, "show_state": true, "show_icon": true, "entity": "switch.sthome_ut1_floodlights_backyard", "state_content": "state", "show_entity_picture": true, "icon": "mdi:light-flood-down", "name": "Backyard" }, { "type": "entity", "show_name": true, "show_state": true, "show_icon": true, "entity": "binary_sensor.sthome_ut1_floodlights_test_mode", "icon": "mdi:light-flood-down", "show_entity_picture": true, "color": "orange", "name": "Test" } ], "header": { "card": { "type": "markdown", "text_only": true, "content": "# House Alarm\n" } } } ] } } }