Make the Right button toggle the living room lights

This commit is contained in:
Sven van Heugten 2026-03-15 11:49:27 +01:00
parent 1dc1faa16a
commit 48c58b610c
3 changed files with 17 additions and 6 deletions

View file

@ -87,6 +87,11 @@ type internal State =
| On
| Off
member this.Invert() =
match this with
| On -> Off
| Off -> On
type internal Brightness =
| Brightness of int