271 lines
11 KiB
Plaintext
271 lines
11 KiB
Plaintext
{
|
|
"version": 1,
|
|
"key": "lovelace.lovelace_main",
|
|
"data": {
|
|
"config": {
|
|
"title": "238 McHaley",
|
|
"path": "lovelace-main",
|
|
"button_card_templates": {
|
|
"large_value": {
|
|
"show_label": true,
|
|
"show_state": true,
|
|
"size": "100%",
|
|
"styles": {
|
|
"card": [
|
|
{
|
|
"width": "140px"
|
|
},
|
|
{
|
|
"height": "140px"
|
|
},
|
|
{
|
|
"margin": "5px"
|
|
}
|
|
],
|
|
"grid": [
|
|
{
|
|
"grid-template-areas": "\"s s\" \"i n\" \"i l\""
|
|
},
|
|
{
|
|
"grid-template-columns": "20% 80%"
|
|
},
|
|
{
|
|
"grid-template-rows": "60% 20% 10%"
|
|
}
|
|
],
|
|
"img_cell": null,
|
|
"unit": [
|
|
{
|
|
"margin-left": "10px"
|
|
},
|
|
{
|
|
"font-weight": "lighter"
|
|
},
|
|
{
|
|
"justify-self": "start"
|
|
},
|
|
{
|
|
"font-size": "1em"
|
|
}
|
|
],
|
|
"name": [
|
|
{
|
|
"justify-self": "start"
|
|
},
|
|
{
|
|
"overflow": "visible"
|
|
},
|
|
{
|
|
"font-size": "1.7em"
|
|
},
|
|
{
|
|
"font-weight": "bold"
|
|
}
|
|
],
|
|
"state": [
|
|
{
|
|
"justify-self": "center"
|
|
},
|
|
{
|
|
"align-self": "center"
|
|
},
|
|
{
|
|
"font-size": "2.2em"
|
|
},
|
|
{
|
|
"font-weight": "bold"
|
|
},
|
|
{
|
|
"overflow": "visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"views": [
|
|
{
|
|
"title": "Lights/Outlets",
|
|
"path": "circuits",
|
|
"icon": "",
|
|
"badges": [],
|
|
"cards": [
|
|
{
|
|
"type": "entities",
|
|
"show_header_toggle": false,
|
|
"title": "Indoor Security Lights",
|
|
"entities": [
|
|
{
|
|
"entity": "switch.all_sonoffs",
|
|
"name": "Lights State (manual override)"
|
|
},
|
|
{
|
|
"entity": "input_datetime.security_lights_interior_time_off",
|
|
"name": "Time Of Day Off",
|
|
"type": "custom:time-picker-card",
|
|
"hour_mode": 12,
|
|
"hour_step": 1,
|
|
"minute_step": 5,
|
|
"second_step": 5,
|
|
"layout": {
|
|
"embedded": true,
|
|
"name": "header"
|
|
},
|
|
"align_controls": "center",
|
|
"link_values": false
|
|
},
|
|
{
|
|
"entity": "automation.security_lights_interior_time_on",
|
|
"name": "Lights On At Sunset Automation Enabled"
|
|
},
|
|
{
|
|
"entity": "automation.security_lights_interior_time_off",
|
|
"name": "Lights Off Automation Enabled"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "entities",
|
|
"show_header_toggle": false,
|
|
"title": "Raw Sonoff Control",
|
|
"entities": [
|
|
"switch.sonoff_white",
|
|
"switch.sonoff_brown",
|
|
"switch.all_sonoffs"
|
|
]
|
|
},
|
|
{
|
|
"type": "button",
|
|
"tap_action": {
|
|
"action": "toggle"
|
|
},
|
|
"entity": "switch.outside_north_circuit"
|
|
},
|
|
{
|
|
"type": "custom:button-card",
|
|
"entity": "sensor.sensor1",
|
|
"layout": "icon_state_name2nd",
|
|
"show_state": true,
|
|
"show_name": true,
|
|
"show_label": true,
|
|
"label": "label",
|
|
"styles": {
|
|
"grid": [
|
|
{
|
|
"grid-template-areas": "\"n i\" \"s i\" \"l i\""
|
|
},
|
|
{
|
|
"grid-template-columns": "1fr 40%"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "sensors",
|
|
"path": "sensors",
|
|
"icon": "",
|
|
"badges": [],
|
|
"cards": [
|
|
{
|
|
"type": "custom:button-card",
|
|
"entity": "sensor.bme_outside_temperature",
|
|
"name": "Outside",
|
|
"label": "238 McHaley"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Electronics Closet",
|
|
"path": "electronics-closet",
|
|
"icon": "",
|
|
"badges": [],
|
|
"cards": [
|
|
{
|
|
"type": "entities",
|
|
"show_header_toggle": false,
|
|
"title": "Temperature Control",
|
|
"entities": [
|
|
"sensor.closet_temperature",
|
|
"input_number.fan_on_temp",
|
|
"switch.fan_automation_enabled",
|
|
"fan.fan_state"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Stone Room",
|
|
"path": "stone-room",
|
|
"badges": [],
|
|
"cards": [
|
|
{
|
|
"type": "custom:button-card",
|
|
"entity": "switch.stone_room_heating",
|
|
"layout": "icon_state_name2nd",
|
|
"show_state": true,
|
|
"show_name": true,
|
|
"show_label": false,
|
|
"label": "Stone Room Heating",
|
|
"styles": {
|
|
"grid": [
|
|
{
|
|
"grid-template-areas": "\"n i\" \"s i\" \"l i\""
|
|
},
|
|
{
|
|
"grid-template-columns": "1fr 50%"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "thermostat",
|
|
"entity": "climate.stone_room_thermostat",
|
|
"name": "Stone Room"
|
|
},
|
|
{
|
|
"type": "entities",
|
|
"entities": [
|
|
{
|
|
"entity": "sensor.stone_room_temperature",
|
|
"name": "Temperature",
|
|
"secondary_info": "last-updated"
|
|
},
|
|
{
|
|
"entity": "climate.stone_room_thermostat",
|
|
"name": "Heating Thermostat"
|
|
},
|
|
{
|
|
"entity": "switch.stone_room_heater",
|
|
"name": "Heater State (manual override)"
|
|
},
|
|
{
|
|
"entity": "sensor.stone_room_humidity",
|
|
"name": "Humidity"
|
|
},
|
|
{
|
|
"entity": "sensor.stone_room_dew_point_temperature",
|
|
"name": "Dew Point"
|
|
}
|
|
],
|
|
"title": "Stone Room Climate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Cameras",
|
|
"path": "cameras",
|
|
"icon": "mdi:camera",
|
|
"badges": [],
|
|
"cards": [
|
|
{
|
|
"type": "picture-entity",
|
|
"entity": "camera.camera1",
|
|
"camera_image": "camera.camera1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |