{ "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 Mode" }, { "entity": "input_boolean.mode_multiroom_manual", "name": "Multiroom/No Auto" }, { "entity": "input_boolean.mode_hall_manual", "name": "Keep Hall Lights" }, { "type": "divider" }, { "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.smart_power_strip_pro_usb_1", "name": "SmartPI" }, { "entity": "switch.office_smartpi", "name": "SmartPI/Monitor" }, { "entity": "switch.bedroom_router", "name": "Asgard" }, { "entity": "switch.bedroom_roof", "name": "Roof" }, { "entity": "switch.hall_infra", "name": "Office" }, { "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_tablelampsocket", "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_2", "name": "UPS" }, { "entity": "switch.smart_power_strip_pro_socket_2", "name": "Table" }, { "entity": "switch.office_table", "name": "Power" }, { "entity": "switch.smart_power_strip_pro_socket_4", "name": "Top" }, { "entity": "switch.office_svensocket", "name": "Top/Sven" }, { "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", "name": "Wash" }, { "entity": "switch.kitchen_teatable", "name": "Table" }, { "entity": "switch.kitchen_fridge", "name": "Fridge" } ], "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" } ] } ] } ] } ] } } }