89a8c599c7
Strongly type the device FriendlyName
2026-01-05 19:19:04 +01:00
9531dee52b
Stop requiring the initial time in NightLightStateMachine
...
We're only fooling ourselves if we think that it's ready *right* after
construction anyway. After all, the initial state of the lights won't be
updated when the state machine is constructed.
2026-01-04 20:16:58 +01:00
bd550bfcd9
Encapsulate State to make it impossible to read
...
This was NightLightStateMachine's purpose, but it fits equally well
in the actual production code.
2026-01-04 12:09:07 +01:00
83b716a509
Reorganize types to prepare for unit testing
2026-01-04 12:08:10 +01:00
5219abfb4b
Fix incorrect namespaces
2026-01-04 12:08:10 +01:00
27c6646237
Put a full Message in ReceivedZigbeeEvent
...
We'll need the topic later.
2026-01-04 12:08:10 +01:00
10e26a4866
Turn Message into a record type
2026-01-04 12:08:10 +01:00
ab6e123efc
ZigbeeCommand -> Message
...
There isn't really anything specifically Zigbee about this type.
2026-01-04 12:08:10 +01:00
c377ec25dc
Introduce the Models module in order to make others internal
2026-01-04 12:08:10 +01:00