Oh this one’s nice! Because the compiler knows that `officeLightState` is a `LightState`, I can switch through the values as `.on` and `.off` instead of having to write `LightState.on` and `LightState.off`. 🙌
@domhabersack this is true, but I don't think that the compiler makes this point really obvious, as you type the code. It might as well have changed in the latest release, I need to check.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!