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

Stopped working after HA upgrade to 2022.7.0 #153

Closed
sweetpants opened this issue Jul 7, 2022 · 28 comments
Closed

Stopped working after HA upgrade to 2022.7.0 #153

sweetpants opened this issue Jul 7, 2022 · 28 comments

Comments

@sweetpants
Copy link

Since the latest upgrade of HA to 2022.7.0, this integration stopped working.
Logviewer says:

2022-07-07 09:33:05 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration nefiteasy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-07 09:33:23 DEBUG (MainThread) [custom_components.nefiteasy] Initialize Nefit class
2022-07-07 09:33:23 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 518910035 for nefiteasy
File "/config/custom_components/nefiteasy/init.py", line 106, in async_setup_entry
client = NefitEasy(hass, credentials)
File "/config/custom_components/nefiteasy/init.py", line 169, in init

Re-install of this integration did not help

Regards, Harry

@pjannink
Copy link

pjannink commented Jul 7, 2022

Same here. A fix is appreciated!!

@smartins4
Copy link

same here.

@sweetpants
Copy link
Author

When installing from HACS, same issue with an extra error in the log

2022-07-07 10:31:45 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nefiteasy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-07 10:31:59 WARNING (MainThread) [homeassistant.components.number] custom_components.nefiteasy.models is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-07 10:31:59 DEBUG (MainThread) [custom_components.nefiteasy] Initialize Nefit class
2022-07-07 10:31:59 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 518910035 for nefiteasy
File "/config/custom_components/nefiteasy/init.py", line 44, in async_setup_entry
client = NefitEasy(hass, credentials)
File "/config/custom_components/nefiteasy/init.py", line 107, in init

@CAP-Team
Copy link

CAP-Team commented Jul 7, 2022

Same here

@mupsje
Copy link

mupsje commented Jul 7, 2022

Stopped indeed, after update.
We will wait for the fix ;)

@RobBie1221
Copy link
Collaborator

See #152

This is an issue in the slixmpp library version used by aionefit. It should be fixed in aionefit, but as aionefit is not maintained anymore, it essentially becomes an issue here. Won't be easy to fix, a new supporting library is needed.

@kyhsbox
Copy link

kyhsbox commented Jul 7, 2022

same here

@hroling
Copy link

hroling commented Jul 7, 2022

The same issue on my server and hope you will/can update it. I love the Custom Component.

@bsimmo
Copy link

bsimmo commented Jul 7, 2022

This is the upgrade to Python 3.10.5 that will be the problem.

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/nefiteasy/__init__.py:107
Integration: Nefit Easy Bosch Thermostat (documentation, issues)
Error setting up entry... Removed Some numbers.... for nefiteasy
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/nefiteasy/__init__.py", line 44, in async_setup_entry
    client = NefitEasy(hass, credentials)
  File "/config/custom_components/nefiteasy/__init__.py", line 107, in __init__
    self.nefit = NefitCore(
  File "/usr/local/lib/python3.10/site-packages/aionefit/__init__.py", line 45, in __init__
    self.xmppclient = NefitXmppClient(jid=self.jid,
  File "/usr/local/lib/python3.10/site-packages/aionefit/provider/slixmpp_impl.py", line 32, in __init__
    self.register_plugin('xep_0280') #carbons
  File "/usr/local/lib/python3.10/site-packages/slixmpp/basexmpp.py", line 241, in register_plugin
    self.plugin.enable(plugin, pconfig)
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/base.py", line 165, in enable
    self.enable(dep, enabled=enabled)
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/base.py", line 165, in enable
    self.enable(dep, enabled=enabled)
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/base.py", line 153, in enable
    load_plugin(name)
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/base.py", line 82, in load_plugin
    __import__(module)
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/xep_0203/__init__.py", line 11, in <module>
    from slixmpp.plugins.xep_0203 import stanza
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/xep_0203/stanza.py", line 13, in <module>
    from slixmpp.plugins import xep_0082
  File "/usr/local/lib/python3.10/site-packages/slixmpp/plugins/xep_0082.py", line 12, in <module>
    from slixmpp.thirdparty import tzutc, tzoffset, parse_iso
  File "/usr/local/lib/python3.10/site-packages/slixmpp/thirdparty/__init__.py", line 7, in <module>
    from slixmpp.thirdparty.orderedset import OrderedSet
  File "/usr/local/lib/python3.10/site-packages/slixmpp/thirdparty/orderedset.py", line 25, in <module>
    class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'

`
collections module has changed I guess.

@bsimmo
Copy link

bsimmo commented Jul 7, 2022

And also a deprecation change, that should have been fixed earlier, but I guess not noticed.

Logger: homeassistant.components.number
Source: components/number/__init__.py:152
Integration: Number (documentation, issues)


custom_components.nefiteasy.models is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

@RobBie1221
Copy link
Collaborator

The deprecation message is also new to 2022.07 release. Every week this integration is built against the newest HA. Last week it built against a 2022.06 release still, no deprecation messages, so no way to have that fixed earlier.

@bteselle
Copy link

bteselle commented Jul 8, 2022

Same problem here:

Error setting up entry 756920963 for nefiteasy
July 7, 2022, 12:21:26 PM – (ERROR) Nefit Easy Bosch Thermostat (custom integration)

custom_components.nefiteasy.models is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
July 7, 2022, 12:21:26 PM – (WARNING) number

@TGMivo
Copy link

TGMivo commented Jul 8, 2022

Same here

@ChefkeGremmen
Copy link
Contributor

+1 for this issue for me.

@RobBie1221
Copy link
Collaborator

Please use the thumbs up on the original post instead of posting things like same here. It’s not adding anything. Everybody who uses this with 2022.07 will have this issue.

Use the thread if you have something useful to add.

@kyhsbox

This comment was marked as off-topic.

@danieldotnl

This comment was marked as off-topic.

@RobBie1221

This comment was marked as off-topic.

@kyhsbox

This comment was marked as abuse.

@felix63

This comment was marked as off-topic.

@hroling

This comment was marked as off-topic.

@kyhsbox

This comment was marked as off-topic.

@RobBie1221

This comment was marked as off-topic.

@kyhsbox

This comment was marked as abuse.

@pjannink

This comment was marked as off-topic.

@mupsje

This comment was marked as off-topic.

@RobBie1221

This comment was marked as off-topic.

Repository owner locked as too heated and limited conversation to collaborators Jul 8, 2022
@RobBie1221
Copy link
Collaborator

Workaround implemented, thanks to @spoetnik

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

No branches or pull requests