{ "model_version": 9, "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 ] ], "wall_ids": [ "w1", "w2", "w3", "w4" ] } ], "wall_segments": [ { "id": "w1", "a": [ 100, 100 ], "b": [ 400, 100 ], "cm": 15 }, { "id": "w2", "a": [ 400, 100 ], "b": [ 400, 400 ], "cm": 15 }, { "id": "w3", "a": [ 400, 400 ], "b": [ 100, 400 ], "cm": 15 }, { "id": "w4", "a": [ 100, 400 ], "b": [ 100, 100 ], "cm": 15 } ], "walls": [ { "key": "[100, 100]|[400, 100]", "a": [ 100, 100 ], "b": [ 400, 100 ], "cm": 15 }, { "key": "[400, 100]|[400, 400]", "a": [ 400, 100 ], "b": [ 400, 400 ], "cm": 15 }, { "key": "[400, 400]|[100, 400]", "a": [ 400, 400 ], "b": [ 100, 400 ], "cm": 15 }, { "key": "[100, 400]|[100, 100]", "a": [ 100, 400 ], "b": [ 100, 100 ], "cm": 15 } ], "decor": [ { "id": "d1", "kind": "line", "x1": 0.1, "y1": 0.1, "x2": 0.3, "y2": 0.1, "color": "#8b0000", "width_cm": 5 }, { "id": "d2", "kind": "furniture", "symbol": "sofa", "x": 0.2, "y": 0.2, "w": 0.1, "h": 0.05 } ], "settings": { "bg_mode": "daynight", "north_deg": 45 } } ], "markers": [ { "id": "sensor", "binding": "entity:sensor.temp", "space": "ground", "display": "value", "value_source": { "kind": "entity_attr", "attr": "temperature" } } ], "settings": { "decor_default_style": { "color": "#8b0000", "width_cm": 5 } } }