Commit graph

19 commits

Author SHA1 Message Date
62c8e446c9 Re-write the remaining tests 2026-01-17 10:04:02 +01:00
f22f31ee6c Rewrite two tests with Prop.classify instead 2026-01-16 21:17:37 +01:00
2950b21488 Implement the 'Left' button on the remote 2026-01-14 19:53:15 +01:00
6ecb6d07ac Simplify tests to prepare for a more complicated remote 2026-01-14 19:50:58 +01:00
d57ca23822 Make tests target specific lights when testing 2026-01-08 21:52:06 +01:00
c1d9029a73 Demonstrate and fix some odd behaviour with some bulbs 2026-01-05 23:21:46 +01:00
7472825140 Demonstrate a bug 2026-01-05 22:27:02 +01:00
52e0ec85e9 Introduce the remote into FakeHome 2026-01-05 22:07:09 +01:00
cef2a20f7a Remove some ambiguity 2026-01-05 21:54:34 +01:00
89a8c599c7 Strongly type the device FriendlyName 2026-01-05 19:19:04 +01:00
15bf8db9f4 Make FakeHome independent of NightLightStateMachine 2026-01-04 20:18:37 +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
db4434cd20 Remove Time on FakeHome
We'll have a lot more stuff that we need to compute from the actual
interactions, so let's just get the boilerplate ready.
2026-01-04 19:42:43 +01:00
48aaabde3b Add tests for colors 2026-01-04 12:10:07 +01:00
7125fee28e Parse color commands in FakeHome 2026-01-04 12:10:07 +01:00
c7c5de9e21 State -> NightLightStateMachine 2026-01-04 12:10:06 +01:00
285874777a Get rid of NightLightStateMachine in the tests 2026-01-04 12:09:09 +01:00
a741938f89 Stop propagating parse errors throughout the tests 2026-01-04 12:08:10 +01:00
fc069edf31 Implement FakeHome 2026-01-04 12:08:10 +01:00