Skip to content

Commit 0df33fb

Browse files
committed
Packages & Dashboard Updates
1 parent ea30c40 commit 0df33fb

14 files changed

Lines changed: 2431 additions & 555 deletions
Lines changed: 52 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,54 @@
1+
---
2+
tags:
3+
- package
4+
- automated
5+
version: 1.0.0
6+
---
7+
18
# Package: Airthings
29

10+
**Version:** 1.0.0
11+
**Description:** Normalizes Airthings Wave sensors (Temp, Humidity, CO2)
12+
13+
<!-- START_IMAGE -->
14+
![Package Diagram](../../../assets/images/packages/airthings.png)
15+
<!-- END_IMAGE -->
16+
317
## Executive Summary
4-
This package normalizes data from the Airthings Wave Plus device (Living Room). It uses **Template Sensors** to extract and round temperature, humidity, and CO2 values from the raw Bluetooth/Cloud integration sensors, providing cleaner data for the frontend.
5-
6-
## Architecture
7-
```mermaid
8-
sequenceDiagram
9-
participant Raw as sensor.airthings_wave_living_room_*
10-
participant Template as HA Template Engine
11-
participant Sensor as sensor.airthings_wave_*
12-
13-
Raw->>Template: State Change (e.g. 21.5432)
14-
Template->>Template: Round to 1 decimal
15-
Template->>Sensor: Update State (21.5)
16-
```
18+
<!-- START_SUMMARY -->
19+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
20+
21+
*No executive summary generated yet.*
22+
<!-- END_SUMMARY -->
23+
24+
## Process Description (Non-Technical)
25+
<!-- START_DETAILED -->
26+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
27+
28+
*No detailed non-technical description generated yet.*
29+
<!-- END_DETAILED -->
1730

18-
## Backend Configuration
31+
## Architecture Diagram
32+
<!-- START_MERMAID_DESC -->
33+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
34+
35+
*No architecture explanation generated yet.*
36+
<!-- END_MERMAID_DESC -->
37+
38+
<!-- START_MERMAID -->
39+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
40+
41+
*No architecture diagram generated yet.*
42+
<!-- END_MERMAID -->
43+
44+
## Configuration (Source Code)
1945
```yaml
46+
# ------------------------------------------------------------------------------
47+
# Package: Airthings
48+
# Version: 1.0.0
49+
# Description: Normalizes Airthings Wave sensors (Temp, Humidity, CO2)
50+
# Dependencies: sensor.airthings_wave_living_room_temperature
51+
# ------------------------------------------------------------------------------
2052
template:
2153
- sensor:
2254
- name: "Airthings Wave Temperature"
@@ -45,40 +77,12 @@ template:
4577
state: >
4678
{% set value = states('sensor.airthings_wave_living_room_co2') | float(0) %}
4779
{{ value | round(1) }}
48-
```
4980
50-
## Frontend Connection
51-
**Key Entities**:
52-
- `sensor.airthings_wave_temperature`
53-
- `sensor.airthings_wave_humidity`
54-
- `sensor.airthings_wave_co2`
55-
56-
**Dashboard Usage**:
57-
These sensors are used in `dashboard_demo` and `dashboard_dev2` within custom cards (likely `button-card` or composite cards).
58-
59-
**Card Configuration (Snippet)**:
60-
```json
61-
// From lovelace.dashboard_demo
62-
{
63-
"type": "custom:button-card",
64-
"template": "card_generic_swap",
65-
"variables": {
66-
"temperature_sensor": "sensor.airthings_wave_temperature"
67-
}
68-
}
6981
```
7082
71-
### UI Simulation
72-
<div style="border: 1px solid #444; border-radius: 12px; padding: 16px; width: 300px; background: #222; color: white; font-family: sans-serif;">
73-
<div style="display: flex; justify-content: space-between; align-items: center;">
74-
<div style="display: flex; align-items: center; gap: 8px;">
75-
<span style="font-size: 24px;">🌡️</span>
76-
<span style="font-weight: bold;">Living Room</span>
77-
</div>
78-
<span style="font-size: 1.5em; font-weight: bold;">21.5 °C</span>
79-
</div>
80-
<div style="margin-top: 12px; display: flex; gap: 16px; font-size: 0.9em; color: #aaa;">
81-
<span>💧 45.2 %</span>
82-
<span>☁️ 850 ppm</span>
83-
</div>
84-
</div>
83+
## Dashboard Connections
84+
<!-- START_DASHBOARD -->
85+
This package powers the following dashboard views:
86+
87+
* **[Living Room](../dashboards/main/living_room.md)** (Uses 3 entities)
88+
<!-- END_DASHBOARD -->

docs/smart-home/packages/aqara_w500.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,10 @@ automation:
260260

261261
## Dashboard Connections
262262
<!-- START_DASHBOARD -->
263-
The following thermostat card is used in the Bathroom dashboard.
263+
This package powers the following dashboard views:
264264

265-
```yaml
266-
type: thermostat
267-
entity: climate.aqara_w500
268-
name: Bathroom Floor
269-
show_current_as_primary: false
270-
features:
271-
- type: climate-hvac-modes
272-
```
265+
* **[Bathroom](../dashboards/main/bathroom.md)** (Uses 5 entities)
266+
* **[Electricity Dev](../dashboards/main/electricity-dev.md)** (Uses 1 entities)
267+
* **[Electricity](../dashboards/main/electricity.md)** (Uses 2 entities)
268+
* **[Home](../dashboards/main/home.md)** (Uses 1 entities)
273269
<!-- END_DASHBOARD -->

docs/smart-home/packages/dishwasher.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -305,25 +305,8 @@ automation:
305305

306306
## Dashboard Connections
307307
<!-- START_DASHBOARD -->
308-
The following Lovelace card is used to display the Dishwasher status. It uses a `custom:mushroom-entity-card` and is conditionally visible only when the dishwasher is active.
308+
This package powers the following dashboard views:
309309

310-
```yaml
311-
type: custom:mushroom-entity-card
312-
entity: sensor.dishwasher_status_clean
313-
name: Dishwasher Status
314-
icon: mdi:dishwasher
315-
secondary_info: state
316-
grid_options:
317-
columns: 12
318-
rows: 1
319-
card_mod:
320-
style: |
321-
ha-card {
322-
--card-mod-icon-color: var(--blue-color);
323-
}
324-
visibility:
325-
- condition: state
326-
entity: binary_sensor.dishwasher_active
327-
state: 'on'
328-
```
310+
* **[Home](../dashboards/main/home.md)** (Uses 2 entities)
311+
* **[Kitchen](../dashboards/main/kitchen.md)** (Uses 5 entities)
329312
<!-- END_DASHBOARD -->
Lines changed: 52 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,54 @@
1-
# Package: DNA TV Hub
1+
---
2+
tags:
3+
- package
4+
- automated
5+
version: 1.0.0
6+
---
7+
8+
# Package: Dna Tv Hub
9+
10+
**Version:** 1.0.0
11+
**Description:** Template switch for DNA TV Hub remote control
12+
13+
<!-- START_IMAGE -->
14+
![Package Diagram](../../../assets/images/packages/dna_tv_hub.png)
15+
<!-- END_IMAGE -->
216

317
## Executive Summary
4-
This package provides a simple switch mechanism to control the DNA TV Hub power state. It wraps the `remote.dna_tv_hubi` service calls into a toggleable switch entity for easier dashboard integration (e.g., standard toggle buttons).
5-
6-
## Architecture
7-
```mermaid
8-
sequenceDiagram
9-
participant UI as Dashboard Switch
10-
participant Switch as switch.dna_tv_hub
11-
participant Remote as remote.dna_tv_hubi
12-
13-
UI->>Switch: Turn On
14-
Switch->>Remote: Call Service (remote.turn_on)
15-
Remote-->>Switch: State Update
16-
```
18+
<!-- START_SUMMARY -->
19+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
20+
21+
*No executive summary generated yet.*
22+
<!-- END_SUMMARY -->
23+
24+
## Process Description (Non-Technical)
25+
<!-- START_DETAILED -->
26+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
1727
18-
## Backend Configuration
28+
*No detailed non-technical description generated yet.*
29+
<!-- END_DETAILED -->
30+
31+
## Architecture Diagram
32+
<!-- START_MERMAID_DESC -->
33+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
34+
35+
*No architecture explanation generated yet.*
36+
<!-- END_MERMAID_DESC -->
37+
38+
<!-- START_MERMAID -->
39+
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
40+
41+
*No architecture diagram generated yet.*
42+
<!-- END_MERMAID -->
43+
44+
## Configuration (Source Code)
1945
```yaml
46+
# ------------------------------------------------------------------------------
47+
# Package: DNA TV Hub
48+
# Version: 1.0.0
49+
# Description: Template switch for DNA TV Hub remote control
50+
# Dependencies: remote.dna_tv_hub
51+
# ------------------------------------------------------------------------------
2052
template:
2153
- switch:
2254
- name: "DNA TV HUB"
@@ -31,22 +63,10 @@ template:
3163
service: remote.turn_off
3264
target:
3365
entity_id: remote.dna_tv_hubi
66+
3467
```
3568

36-
## Frontend Connection
37-
**Key Entities**:
38-
- `switch.dna_tv_hub`
39-
40-
**Dashboard Usage**:
41-
No specific complex card configuration found. Likely used as a standard entity in an entities card or a button.
42-
43-
### UI Simulation
44-
<div style="border: 1px solid #444; border-radius: 8px; padding: 12px; width: 250px; background: #222; color: white; font-family: sans-serif; display: flex; align-items: center; justify-content: space-between;">
45-
<div style="display: flex; align-items: center; gap: 12px;">
46-
<span style="font-size: 24px;">📺</span>
47-
<span>DNA TV Hub</span>
48-
</div>
49-
<div style="width: 40px; height: 20px; background: #4caf50; border-radius: 10px; position: relative;">
50-
<div style="width: 18px; height: 18px; background: white; border-radius: 50%; position: absolute; right: 1px; top: 1px;"></div>
51-
</div>
52-
</div>
69+
## Dashboard Connections
70+
<!-- START_DASHBOARD -->
71+
*No specific entities detected to link.*
72+
<!-- END_DASHBOARD -->

0 commit comments

Comments
 (0)