homeassistant: only switch bathroom light when it is already on #279

Merged
JakeHillion merged 1 commits from bathroom-light into main 2024-05-25 22:06:46 +01:00
Owner

Although the system now knows whether the bathroom light is on, it switches the switch every time the light should be turned off regardless of if it's already off. Because this is a device running on battery that performs a physical movement this runs the battery out very fast. Adjust the system to only switch the light off if it thinks it's on, even though this has the potential for desyncs.

Although the system now knows whether the bathroom light is on, it switches the switch every time the light should be turned off regardless of if it's already off. Because this is a device running on battery that performs a physical movement this runs the battery out very fast. Adjust the system to only switch the light off if it thinks it's on, even though this has the potential for desyncs.
JakeHillion added 1 commit 2024-05-25 22:03:16 +01:00
homeassistant: only switch bathroom light when it is already on
All checks were successful
flake / flake (push) Successful in 1m18s
78705d440a
Although the system now knows whether the bathroom light is on, it switches the switch every time the light should be turned off regardless of if it's already off. Because this is a device running on battery that performs a physical movement this runs the battery out very fast. Adjust the system to only switch the light off if it thinks it's on, even though this has the potential for desyncs.
JakeHillion merged commit 78705d440a into main 2024-05-25 22:06:46 +01:00
JakeHillion deleted branch bathroom-light 2024-05-25 22:06:46 +01:00
Sign in to join this conversation.
No reviewers
No Label
bug
feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JakeHillion/nixos#279
No description provided.