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

Raincloud Component has stopped working #22422

Closed
i-am-snappy opened this issue Mar 26, 2019 · 3 comments · Fixed by #22805
Closed

Raincloud Component has stopped working #22422

i-am-snappy opened this issue Mar 26, 2019 · 3 comments · Fixed by #22805

Comments

@i-am-snappy
Copy link

Home Assistant release with the issue:
0.90.1

Last working Home Assistant release (if known):
0.90.1

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io

Component/platform:
https://www.home-assistant.io/components/raincloud/

Description of problem:
Looks like Melnor have made some changes that have broken the integration. I have tested by rolling back to other previous snapshots. Prior versions of HA exhibit the same fault, potentially indicating the problem is not in HA component code.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

homeassistant:

raincloud:
  username: !secret raincloud_username
  password: !secret raincloud_password

sensor:
  - platform: raincloud

binary_sensor:
  - platform: raincloud

switch:
  - platform: raincloud

Traceback (if applicable):

2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Error during setup of component raincloud
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/raincloudy/helpers.py", line 37, in serial_finder
    result = regex.search(child.string).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/raincloud/__init__.py", line 101, in setup
    raincloud = RainCloudy(username=username, password=password)
  File "/usr/local/lib/python3.7/site-packages/raincloudy/core.py", line 59, in __init__
    self.login()
  File "/usr/local/lib/python3.7/site-packages/raincloudy/core.py", line 68, in login
    self._authenticate()
  File "/usr/local/lib/python3.7/site-packages/raincloudy/core.py", line 99, in _authenticate
    parsed_controller = serial_finder(self.html['home'])
  File "/usr/local/lib/python3.7/site-packages/raincloudy/helpers.py", line 48, in serial_finder
    'Could not find any valid controller or faucet')
raincloudy.exceptions.RainCloudyException: Could not find any valid controller or faucet
2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of raincloud.binary_sensor. Setup failed for dependencies: raincloud
2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform raincloud.binary_sensor: Could not set up all dependencies.
2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of raincloud.sensor. Setup failed for dependencies: raincloud
2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform raincloud.sensor: Could not set up all dependencies.
2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of raincloud.switch. Setup failed for dependencies: raincloud
2019-03-26 22:12:10 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform raincloud.switch: Could not set up all dependencies.

Additional information:

@cgtobi
Copy link
Contributor

cgtobi commented Mar 26, 2019

Upstream issue: vanstinator/raincloudy#30

@brianhanifin
Copy link

Upstream issue: tchellomello/raincloudy#30

Thank you for letting us know. I was coming to report/confirm the same issue. I'm glad to see it isn't just me.

@vanstinator
Copy link
Contributor

I've started working to fix this. I've got a WIP PR open on the upstream dependency. vanstinator/raincloudy#31

🤞 I can work with the author to resolve this quickly and get the changes in HA

@ghost ghost added the in progress label Apr 6, 2019
@ghost ghost removed the in progress label Apr 7, 2019
balloob pushed a commit that referenced this issue Apr 7, 2019
…2805)

* Bump raincloud dependency to fix broken integration: Fixes #22422

* bump requirements_all

* bump CODEOWNERS

* edit codeowners in response to PR feedback
unibeck pushed a commit to unibeck/home-assistant that referenced this issue Apr 7, 2019
…tant#22422 (home-assistant#22805)

* Bump raincloud dependency to fix broken integration: Fixes home-assistant#22422

* bump requirements_all

* bump CODEOWNERS

* edit codeowners in response to PR feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants