mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-01 04:09:17 +00:00
The Voluptuous schema is now dumped into a deterministic committed manifest (265 leaf paths); a pytest fails on drift. A parity test compares manifest enums with the exported frontend const lists through a machine-readable allow-list that also refuses to rot. The field registry gains passports (allow-extra / lovelace-card), enforcedBy citations for mechanisms that already shipped, and passports for the v1.68-v1.69 fields; a completeness test bans dead decisions. Lifecycle fixtures (oldest / current / future) prove lossless loading, and the config auditor gains the 0/3/2 exit-code contract. User-Visible: yes Issue: #33
57 lines
925 B
JSON
57 lines
925 B
JSON
{
|
|
"spaces": [
|
|
{
|
|
"id": "ground",
|
|
"title": "Ground",
|
|
"view_box": [
|
|
0,
|
|
0,
|
|
1000,
|
|
750
|
|
],
|
|
"rooms": [
|
|
{
|
|
"id": "hall",
|
|
"name": "Hall",
|
|
"poly": [
|
|
[
|
|
100,
|
|
100
|
|
],
|
|
[
|
|
400,
|
|
100
|
|
],
|
|
[
|
|
400,
|
|
400
|
|
],
|
|
[
|
|
100,
|
|
400
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"aspect": 1.33,
|
|
"settings": {
|
|
"fill_mode": "glow"
|
|
}
|
|
}
|
|
],
|
|
"markers": [
|
|
{
|
|
"id": "lamp",
|
|
"binding": "entity:light.hall",
|
|
"space": "ground",
|
|
"display": "ripple",
|
|
"tap_action": "cover",
|
|
"is_light": true
|
|
}
|
|
],
|
|
"settings": {
|
|
"show_all": true,
|
|
"weather_entity": "weather.home",
|
|
"bg_mode": "static"
|
|
}
|
|
} |