Skip to content

v2026.1.56

Choose a tag to compare

@lasswellt lasswellt released this 23 Jan 03:18
· 232 commits to master since this release

Features

Mutual Exclusion for DreamView, Music Mode, and Scenes (#6)

DreamView (Movie Mode), Music Mode, and Scenes are mutually exclusive on Govee devices. This release ensures that enabling one mode automatically clears conflicting modes in the Home Assistant UI:

Action Clears
Enable DreamView Music Mode, Scene, DIY Scene
Enable Music Mode DreamView, Scene, DIY Scene
Select Scene DreamView, Music Mode, DIY Scene
Select DIY Scene DreamView, Music Mode, Scene

The state changes now propagate correctly between entities through the coordinator, so when you turn on DreamView, the Music Mode switch will show OFF and the Scene selector will show "None".

Files Changed

  • models/state.py - Added dreamview_enabled, active_diy_scene fields and mutual exclusion logic
  • coordinator.py - Handle ToggleCommand and DIYSceneCommand in optimistic updates
  • switch.py - DreamView switch reads state from coordinator
  • select.py - Scene selects read current_option from coordinator state
  • tests/test_models.py - 11 new mutual exclusion tests (290 total tests)