You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This dashboard serves as a personal hub for Evis. It features a profile card using the `family_member_card` template to display status and tracked device (`sm_f966b`) information. Additionally, it includes a dynamic "My Notification Settings" list automatically generated by `custom:auto-entities`. This section captures all notification switches associated with Evis (filtered by `_notification_Evis`), allowing for granular control over various notification categories.
This dashboard acts as the administrative backend for the Smart Notification System. It is divided into four key sections: **User Management** for onboarding and offboarding notification recipients; **Category Management** for creating and deleting system-wide notification channels; **Delivery Settings** for defining global rules (e.g., presence-based delivery); and **Subscription Management**, allowing individual users to toggle their subscriptions to specific notification categories. Additionally, it provides an overview of all automations tagged with notification labels.
Copy file name to clipboardExpand all lines: docs/smart-home/packages/room_automation.md
+39-13Lines changed: 39 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,38 +16,64 @@ version: 1.0.0
16
16
17
17
## Executive Summary
18
18
<!-- START_SUMMARY -->
19
-
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
20
-
21
-
*No executive summary generated yet.*
19
+
The **Room Automation** package provides a standardized, scalable framework for managing room states (e.g., Occupied, Idle, Sleep) and automation parameters (e.g., lighting delays, lux thresholds) dynamically. It utilizes **MQTT discovery** to generate entities for each room on-the-fly, allowing for decentralized configuration without restarting Home Assistant. Admin users can "initialize" a room from a dashboard, which triggers scripts to publish MQTT configuration payloads, creating a suite of helpers (timers, selects, sensors) specific to that room. It effectively acts as a "factory" for room controllers.
22
20
<!-- END_SUMMARY -->
23
21
24
22
## Process Description (Non-Technical)
25
23
<!-- START_DETAILED -->
26
-
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
This system allows you to turn any "Area" in your home into a Smart Room without writing code.
25
+
1.**Creation:** You select a room (like "Kitchen") from a list in the Settings Dashboard.
26
+
2.**Generation:** The system instantly creates a set of controls for that room, including:
27
+
***Mode Selector:** Choose how the room behaves (e.g., "Presence Control" vs. "Manual").
28
+
***Timers:** Set how long lights stay on after you leave.
29
+
***Sensors:** Link motion sensors and light sensors to the room.
30
+
3.**Operation:** Once created, these controls appear in your dashboards, letting you tweak settings like "turn off lights after 5 minutes" individually for every room.
29
31
<!-- END_DETAILED -->
30
32
31
33
## Dashboard Connections
32
34
<!-- START_DASHBOARD -->
33
35
This package powers the following dashboard views:
***[Management](../dashboards/notification-center/management.md)**: *This dashboard acts as the administrative backend for the Smart Notification System. It is divided into four key sections: **User Management** for onboarding and offboarding notification recipients; **Category Management** for creating and deleting system-wide notification channels; **Delivery Settings** for defining global rules (e.g., presence-based delivery); and **Subscription Management**, allowing individual users to toggle their subscriptions to specific notification categories. Additionally, it provides an overview of all automations tagged with notification labels.* (Uses 1 entities)
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
43
-
44
-
*No architecture explanation generated yet.*
44
+
The sequence diagram below illustrates the "Room Initialization" process. When a user selects a room (e.g., "Kitchen") and clicks "Initialize", the `create_room_settings` script is triggered. This script iterates through a predefined list of required entities (Mode Select, Idle Timer, Occupancy Sensor, etc.) and publishes **MQTT Configuration Payloads** to the `homeassistant/` discovery topic. Home Assistant's MQTT integration detects these payloads and dynamically duplicates the "Room Controller" entity structure for the new room. Finally, the script sets default values (e.g., 120s delay) via retained MQTT messages, ensuring the room is ready for immediate use.
45
45
<!-- END_MERMAID_DESC -->
46
46
47
47
<!-- START_MERMAID -->
48
-
> ⚠️ **Update Required:** Analysis for v0.0.0. Code is v1.0.0.
49
-
50
-
*No architecture diagram generated yet.*
48
+
```mermaid
49
+
sequenceDiagram
50
+
participant Admin as 👤 Admin
51
+
participant Dash as 📱 Dashboard (Settings)
52
+
participant Script as 📜 Script: create_room_settings
0 commit comments