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

Failed to Setup

Open chknlil opened this issue 1 year ago • 3 comments

What version of Adaptive Cover are you using?

1.4.4

What version of Home Assistant are you using?

2024.10.3

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

After install and configure, integration shows "failed to setup: Check the logs"

Reproduction steps

  1. Configure
  2. Reload
  3. Review Logs ...

Diagnostics dump

Logger: homeassistant.config_entries Source: config_entries.py:594 First occurred: 8:26:44 AM (3 occurrences) Last logged: 8:28:40 AM

Error setting up entry Vertical Blind Control for adaptive_cover Error setting up entry Vertical test for adaptive_cover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_cover/init.py", line 40, in async_setup_entry coordinator = AdaptiveDataUpdateCoordinator(hass) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_cover/coordinator.py", line 157, in init self.manager = AdaptiveCoverManager(self.manual_duration) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_cover/coordinator.py", line 787, in init self.reset_duration = dt.timedelta(**reset_duration) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: datetime.timedelta() argument after ** must be a mapping, not NoneType

chknlil avatar Oct 23 '24 13:10 chknlil

I'm seeing the same issue.

steakpowered avatar Oct 23 '24 22:10 steakpowered

Issue may be resolved after the rollback for HA that was performed after updated to 1.4.5: Will be testing further today.

https://github.com/basbruss/adaptive-cover/actions/runs/11499872619

chknlil avatar Oct 24 '24 14:10 chknlil

I believe this can be closed now, testing today showed it to be working after install/update and blinds working well! TY!!! Great project.

chknlil avatar Oct 24 '24 18:10 chknlil