[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
See dump
Reproduction steps
1.
2.
3.
...
Diagnostics dump
This error originated from a custom integration.
Logger: custom_components.adaptive_cover
Source: helpers/update_coordinator.py:312
integration: Adaptive Cover (documentation, issues)
First occurred: 19:38:49 (2 occurrences)
Last logged: 19:38:53
Unexpected error fetching adaptive_cover data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/adaptive_cover/coordinator.py", line 237, in _async_update_data
await self.async_handle_state_change(state, options)
File "/config/custom_components/adaptive_cover/coordinator.py", line 277, in async_handle_state_change
await self.async_handle_call_service(cover, state, options)
File "/config/custom_components/adaptive_cover/coordinator.py", line 328, in async_handle_call_service
and self.check_adaptive_time
^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/adaptive_cover/coordinator.py", line 413, in check_adaptive_time
return self.before_end_time and self.after_start_time
^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/adaptive_cover/coordinator.py", line 424, in after_start_time
"Start time: %s, now: %s, now >= time: %s ", time, now, now >= time
^^^^^^^^^^^
TypeError: '>=' not supported between instances of 'datetime.time' and 'datetime.datetime'
What version of Adaptive Cover are you using?
1.3.1
What version of Home Assistant are you using?
2024.6.3
Checklist
Describe the issue
See dump
Reproduction steps
1. 2. 3. ...
Diagnostics dump
This error originated from a custom integration.
Logger: custom_components.adaptive_cover Source: helpers/update_coordinator.py:312 integration: Adaptive Cover (documentation, issues) First occurred: 19:38:49 (2 occurrences) Last logged: 19:38:53
Unexpected error fetching adaptive_cover data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_cover/coordinator.py", line 237, in _async_update_data await self.async_handle_state_change(state, options) File "/config/custom_components/adaptive_cover/coordinator.py", line 277, in async_handle_state_change await self.async_handle_call_service(cover, state, options) File "/config/custom_components/adaptive_cover/coordinator.py", line 328, in async_handle_call_service and self.check_adaptive_time ^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_cover/coordinator.py", line 413, in check_adaptive_time return self.before_end_time and self.after_start_time ^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_cover/coordinator.py", line 424, in after_start_time "Start time: %s, now: %s, now >= time: %s ", time, now, now >= time ^^^^^^^^^^^ TypeError: '>=' not supported between instances of 'datetime.time' and 'datetime.datetime'