You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of currently previous issues..
Describe the issue
In normal_with_presence(), the comment states that the first check is to see if it's not summer and either lux, irradiance, or sunny weather is present, but the logic seems to reflect a check for (not summer) and either (lux<=threshold, irradiance<=threshold, or weather is not sunny). In my config, this results in the blind staying open during "non sunny" weather despite the lux sensor reporting above the threshold (>700lux in my case).
This seems opposite from what should be expected, where even if the weather is "not sunny", if the lux threshold is exceeded glare should be reduced. I can work around this by adding more weather conditions to the configuration so that the lux sensor is always preferred, but I'm not sure if this is intended.
Reproduction steps
Be not summer (ClimateCoverData.is_summer() returns false)
Have sun in front of window
Have room occupied
Have lux sensor above configured threshold (ClimateCoverData.lux() returns false)
Have weather state that is not in the configured weather conditions (ClimateCoverData.is_sunny() returns true)
Blind will be set to 100% or the default value instead of the optimal position to reduce glare.
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered:
What version of Adaptive Cover are you using?
1.4.5
What version of Home Assistant are you using?
2024.11.1
Checklist
Describe the issue
In
normal_with_presence()
, the comment states that the first check is to see if it's not summer and either lux, irradiance, or sunny weather is present, but the logic seems to reflect a check for(not summer) and either (lux<=threshold, irradiance<=threshold, or weather is not sunny)
. In my config, this results in the blind staying open during "non sunny" weather despite the lux sensor reporting above the threshold (>700lux in my case).This seems opposite from what should be expected, where even if the weather is "not sunny", if the lux threshold is exceeded glare should be reduced. I can work around this by adding more weather conditions to the configuration so that the lux sensor is always preferred, but I'm not sure if this is intended.
Reproduction steps
ClimateCoverData.is_summer()
returnsfalse
)ClimateCoverData.lux()
returnsfalse
)ClimateCoverData.is_sunny()
returnstrue
)Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: