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

Failed to Setup #323

Open
3 tasks done
chknlil opened this issue Oct 23, 2024 · 3 comments
Open
3 tasks done

Failed to Setup #323

chknlil opened this issue Oct 23, 2024 · 3 comments

Comments

@chknlil
Copy link

chknlil commented Oct 23, 2024

What version of Adaptive Cover are you using?

1.4.4

What version of Home Assistant are you using?

2024.10.3

Checklist

  • 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

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

@steakpowered
Copy link

I'm seeing the same issue.

@chknlil
Copy link
Author

chknlil commented Oct 24, 2024

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
Copy link
Author

chknlil commented Oct 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants