Skip to content

Commit f925461

Browse files
authored
Merge pull request #92 from baba-dev/codex/update-entity-definitions-in-docs/entities.json
docs: sync entity catalog with ui components
2 parents 803bc72 + cfc9422 commit f925461

1 file changed

Lines changed: 34 additions & 42 deletions

File tree

docs/entities.json

Lines changed: 34 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,66 @@
11
[
22
{
3-
"id": "light.living_room_lamp",
3+
"id": "light.bakery_main",
44
"type": "light",
5-
"area": "Living Room",
6-
"ui_location": "Home dashboard hero tile",
5+
"area": "Bakery",
6+
"ui_location": "Rooms page \u2192 Bakery card toggle",
77
"attributes": ["brightness"],
8-
"notes": "Primary toggle used to validate light control plumbing."
8+
"notes": "Backs the Bakery card rendered by ui_page_rooms.c via ui_room_card."
99
},
1010
{
11-
"id": "light.kitchen_island",
11+
"id": "light.bedroom_main",
1212
"type": "light",
13-
"area": "Kitchen",
14-
"ui_location": "Home dashboard quick actions",
13+
"area": "Bedroom",
14+
"ui_location": "Rooms page \u2192 Bedroom card toggle",
1515
"attributes": ["brightness"],
16-
"notes": "Displayed as a compact icon button."
16+
"notes": "Backs the Bedroom card rendered by ui_page_rooms.c via ui_room_card."
1717
},
1818
{
19-
"id": "switch.coffee_maker",
20-
"type": "switch",
21-
"area": "Kitchen",
22-
"ui_location": "Automation shortcuts",
23-
"attributes": [],
24-
"notes": "Used for testing generic switch widgets."
19+
"id": "light.living_main",
20+
"type": "light",
21+
"area": "Living Room",
22+
"ui_location": "Rooms page \u2192 Living Room card toggle",
23+
"attributes": ["brightness"],
24+
"notes": "Backs the Living Room card rendered by ui_page_rooms.c via ui_room_card."
2525
},
2626
{
2727
"id": "climate.living_room",
2828
"type": "climate",
2929
"area": "Living Room",
30-
"ui_location": "Climate panel",
30+
"ui_location": "Weather page \u2192 Living Room Climate metrics",
3131
"attributes": ["temperature", "humidity", "hvac_mode"],
32-
"notes": "Supports heat, cool, and auto modes."
33-
},
34-
{
35-
"id": "media_player.living_room_display",
36-
"type": "media_player",
37-
"area": "Living Room",
38-
"ui_location": "Media carousel",
39-
"attributes": ["volume_level", "media_title", "media_artist"],
40-
"notes": "Used to render album art and playback controls."
32+
"notes": "Populates the Living Room Climate metrics assembled in ui_page_weather.c."
4133
},
4234
{
4335
"id": "sensor.tab5_temperature",
4436
"type": "sensor",
45-
"area": "Tab5",
46-
"ui_location": "Sensors page",
47-
"attributes": ["unit_of_measurement:°C"],
48-
"notes": "Reads local temperature from the board sensors."
37+
"area": "Outdoor",
38+
"ui_location": "Weather page \u2192 Outdoor Sensors card",
39+
"attributes": ["unit_of_measurement:\u00B0C"],
40+
"notes": "Displayed in the Outdoor Sensors metrics list inside ui_page_weather.c."
4941
},
5042
{
5143
"id": "sensor.tab5_humidity",
5244
"type": "sensor",
53-
"area": "Tab5",
54-
"ui_location": "Sensors page",
45+
"area": "Outdoor",
46+
"ui_location": "Weather page \u2192 Outdoor Sensors card",
5547
"attributes": ["unit_of_measurement:%"],
56-
"notes": "Mirrors the humidity channel in telemetry charts."
48+
"notes": "Displayed in the Outdoor Sensors metrics list inside ui_page_weather.c."
5749
},
5850
{
59-
"id": "binary_sensor.tab5_motion",
60-
"type": "binary_sensor",
61-
"area": "Tab5",
62-
"ui_location": "Security page",
63-
"attributes": ["device_class:motion"],
64-
"notes": "Backed by the IMU gesture detector."
51+
"id": "media_player.now_playing",
52+
"type": "media_player",
53+
"area": "Living Room",
54+
"ui_location": "Media page \u2192 Now Playing card",
55+
"attributes": ["volume_level", "media_title", "media_artist"],
56+
"notes": "Feeds the Now Playing ui_room_card layout created in ui_page_media.c."
6557
},
6658
{
67-
"id": "button.tab5_sleep",
68-
"type": "button",
59+
"id": "light.tab5_backlight",
60+
"type": "light",
6961
"area": "Tab5",
70-
"ui_location": "Control center",
71-
"attributes": [],
72-
"notes": "Triggers low-power sleep mode from the UI."
62+
"ui_location": "Settings page \u2192 Theme & Display brightness slider",
63+
"attributes": ["brightness"],
64+
"notes": "Controlled by the Theme & Display brightness slider built in ui_page_settings.c."
7365
}
7466
]

0 commit comments

Comments
 (0)