Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwh committed Apr 28, 2024
1 parent f9b3c32 commit 4c6339d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/group/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def on_off_states(
self.on_off_mapping[on_state] = off_state

if off_state not in self.off_on_mapping:
self.off_on_mapping[off_state] = on_states[0]
self.off_on_mapping[off_state] = default_on_state
self.state_group_mapping[domain] = (default_on_state, off_state)

self.on_states_by_domain[domain] = on_states

0 comments on commit 4c6339d

Please sign in to comment.