Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]House in sleeping mode linked to hotbox too #38

Closed
FUNKDATSHhhhhh opened this issue Sep 25, 2023 · 3 comments
Closed

[BUG]House in sleeping mode linked to hotbox too #38

FUNKDATSHhhhhh opened this issue Sep 25, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@FUNKDATSHhhhhh
Copy link

FUNKDATSHhhhhh commented Sep 25, 2023

When you pur the house on sleeping mode the hotbox goes on sleeping mode too and my lights start dimming too.

@maxi1134
Copy link
Owner

This is caused by https://github.com/basnijholt/adaptive-lighting; A ticket has been placed within their repo at basnijholt/adaptive-lighting#737

I can try to mitigate this issue in the meantime by implementing a better detection for the "all sleeping" sensor at
on line

{% if (is_state('person.maximiliano', 'home') and is_state('binary_sensor.maxi_sleeping', 'on' ) ) %}on{% else %}off{% endif %}

It seems to be only checking if I am sleeping instead of doing a check of all users.

@maxi1134
Copy link
Owner

Creating a few sensors to get a better "all sleeping" sensor
fb808fb
ba6c7b4

@maxi1134 maxi1134 changed the title House in sleeping mode linked to hotbox too {BUG}House in sleeping mode linked to hotbox too Sep 25, 2023
@maxi1134 maxi1134 changed the title {BUG}House in sleeping mode linked to hotbox too [BUG]House in sleeping mode linked to hotbox too Sep 25, 2023
maxi1134 pushed a commit that referenced this issue Sep 25, 2023
@maxi1134 maxi1134 self-assigned this Sep 25, 2023
@maxi1134 maxi1134 added the bug Something isn't working label Sep 25, 2023
@maxi1134
Copy link
Owner

Seems fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants