adaptive-cover icon indicating copy to clipboard operation
adaptive-cover copied to clipboard

Position goes down to fully closed although mode is in winter

Open Flain16 opened this issue 9 months ago • 4 comments

What version of Adaptive Cover are you using?

1.4.5

What version of Home Assistant are you using?

2025.3.2

Checklist

  • [x] I have filled out the issue template to the best of my ability.
  • [x] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • [x] This issue is not a duplicate issue of currently previous issues..

Describe the issue

I have configured the integration and really like the way it should work but i don't undestand why my blind are closing due to the reason outsided temperature is way below minimum, climate mode turned on and the inside temp is in the optimum spot. It is possible the miss configured something, i appreciate your help

Reproduction steps

  1. Set up everthing
  2. wait till temp is below minimum temp
  3. see the vertical blind go to fully down position

Diagnostics dump

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2025.3.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.13.2", "docker": true, "arch": "x86_64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.6.73-haos", "supervisor": "2025.03.2", "host_os": "Home Assistant OS 14.2", "docker_version": "27.2.0", "chassis": "vm", "run_as_root": true }, "custom_components": { "adaptive_lighting": { "documentation": "https://github.com/basnijholt/adaptive-lighting#readme", "version": "1.25.0", "requirements": [ "ulid-transform" ] }, "sunspec": { "documentation": "https://github.com/cjne/ha-sunspec", "version": "0.0.26", "requirements": [ "pysunspec2==1.1.5" ] }, "unifi_voucher": { "documentation": "https://github.com/ufozone/ha-unifi-voucher", "version": "1.4.0", "requirements": [ "aiounifi>=80", "Pillow>=10.4.0", "segno>=1.6.1" ] }, "powercalc": { "documentation": "https://docs.powercalc.nl", "version": "v1.17.9", "requirements": [ "numpy>=1.21.1" ] }, "ics_calendar": { "documentation": "https://github.com/franc6/ics_calendar", "version": "5.1.3", "requirements": [ "icalendar~=6.1", "python-dateutil>=2.9.0.post0", "pytz>=2024.1", "recurring_ical_events~=3.5,>=3.5.2", "ics==0.7.2", "arrow", "httpx_auth>=0.22.0,<=0.23.1" ] }, "unifi_access": { "documentation": "https://github.com/imhotep/hass-unifi-access/blob/main/README.md", "version": "1.2.8", "requirements": [ "websocket-client==1.8.0" ] }, "dyson_local": { "documentation": "https://github.com/libdyson-wg/ha-dyson", "version": "1.5.1", "requirements": [] }, "adaptive_cover": { "documentation": "https://github.com/basbruss/adaptive-cover", "version": "1.4.5", "requirements": [ "astral", "pandas" ] }, "hacs": { "documentation": "https://hacs.xyz/docs/use/", "version": "2.0.5", "requirements": [ "aiogithubapi>=22.10.1" ] }, "auto_backup": { "documentation": "https://github.com/jcwillox/hass-auto-backup", "version": "1.8.1", "requirements": [] } }, "integration_manifest": { "domain": "adaptive_cover", "name": "Adaptive Cover", "codeowners": [ "basbruss" ], "config_flow": true, "dependencies": [ "sun", "device_tracker", "zone", "climate", "sensor", "weather" ], "documentation": "https://github.com/basbruss/adaptive-cover", "iot_class": "calculated", "issue_tracker": "https://github.com/basbruss/adaptive-cover/issues", "requirements": [ "astral", "pandas" ], "version": "1.4.5", "is_built_in": false, "overwrites_built_in": false }, "setup_times": { "null": { "setup": 1.652119681239128e-05 }, "01JDC5YM2AKAY04Y252F4MP87E": { "wait_import_platforms": -0.3588862919714302, "config_entry_setup": 1.6566863129846752 }, "01JP3CF3SASJ9093PDHWA31SEE": { "wait_import_platforms": -0.12965528201311827, "config_entry_setup": 1.6576717051211745 } }, "data": { "title": "Adaptive Cover Configuration", "type": "config_entry", "identifier": "01JP3CF3SASJ9093PDHWA31SEE", "config_data": { "__type": "<class 'mappingproxy'>", "repr": "mappingproxy({'name': 'OstSeite', 'sensor_type': 'cover_blind'})" }, "config_options": { "__type": "<class 'mappingproxy'>", "repr": "mappingproxy({'angle': None, 'blind_spot': False, 'blind_spot_elevation': None, 'blind_spot_left': None, 'blind_spot_right': None, 'climate_mode': True, 'default_percentage': 100.0, 'delta_position': 5.0, 'delta_time': 5.0, 'distance_shaded_area': 1.5, 'enable_max_position': False, 'enable_min_position': False, 'fov_left': 80.0, 'fov_right': 80.0, 'group': [], 'interp': False, 'interp_end': None, 'interp_list': [], 'interp_list_new': [], 'interp_start': None, 'inverse_state': False, 'irradiance_entity': None, 'irradiance_threshold': 300.0, 'length_awning': None, 'lux_entity': None, 'lux_threshold': 1000.0, 'manual_ignore_intermediate': False, 'manual_override_duration': {'minutes': 15}, 'manual_override_reset': False, 'manual_threshold': None, 'max_elevation': None, 'max_position': 100, 'min_elevation': None, 'min_position': 20, 'mode': 'basic', 'outside_temp': 'sensor.aussensensor_temperatur', 'outside_threshold': 20, 'presence_entity': 'device_tracker.fabian_handy', 'set_azimuth': 80.0, 'slat_depth': None, 'slat_distance': None, 'start_entity': None, 'start_time': '09:00:00', 'sunrise_offset': 0.0, 'sunset_offset': 0.0, 'sunset_position': 100.0, 'temp_entity': 'sensor.fabian_heizkorperthermostat_kuche_temperature', 'temp_high': 23.0, 'temp_low': 20.0, 'tilt_mode': None, 'transparent_blind': False, 'weather_entity': 'weather.forecast_home', 'weather_state': ['sunny', 'partlycloudy', 'cloudy', 'clear', 'clear-night', 'fog', 'windy', 'windy-variant'], 'window_height': 1.5})" } } }

Flain16 avatar Mar 13 '25 13:03 Flain16

Same here. Default position is 100%, no presence sensor set up, control method sensor shows "winter" but cover is still being opened and closed as if in summer mode.

Image

I would expect covers being opened whole day in winter.

teklabania avatar Aug 06 '25 22:08 teklabania

Also seeing this same behavior... I've deleted and re-built the entry for the shades, and I'm not using any presence detection. When the temp is below the threshold, the cover mode correctly displays "winter", but the blinds close to the position they would take during the "intermediate" control.

My hunch is that the climate mode's functionality is somehow tied to the presence detection, and if there isn't a presence entity set, the logic gets broken somehow. But that's just a hunch.

Did either of you figure out a solution or work-around for this?

nar1117 avatar Oct 08 '25 16:10 nar1117

Unfortantly not, i turn off the automatic mode during winter and i can confirme that the presence detection is not the probleme cause i have configured it.

Flain16 avatar Oct 09 '25 15:10 Flain16

I did find one other similar issue thread here: https://github.com/basbruss/adaptive-cover/issues/304

Which helped me tweak the calculation.py file to correctly account for being in "Winter" mode and also below the temperature threshold.

As for your specific issue, if you add that tweak and the blinds are closing all the way (0% openness) when the inside temp is below the threshold and the blinds are in winter mode, I wonder if you have blinds that are inverted, where 0% actually means all the way open and not closed.

Anyway, just thought I'd share the link to that thread, the fix for the winter mode issue is in there.

nar1117 avatar Oct 09 '25 17:10 nar1117