Demonstrate a bug

This commit is contained in:
Sven van Heugten 2026-01-05 22:22:14 +01:00
parent e792a57cb4
commit 7472825140
4 changed files with 23 additions and 1 deletions

View file

@ -139,3 +139,8 @@ type FakeHome with
| On(brightness, color) -> Some(light, brightness, color)
| Off -> None)
|> Seq.forall condition
member this.ForAllRemotelyControlledLights condition =
this.LightStates
|> Seq.filter (fst >> _.ControlledWithRemote)
|> Seq.forall condition