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

Somfy sensors unavailable after upgrade to 2021.8 beta #500

Closed
1 task done
Nodezero1 opened this issue Jul 31, 2021 · 3 comments · Fixed by #501
Closed
1 task done

Somfy sensors unavailable after upgrade to 2021.8 beta #500

Nodezero1 opened this issue Jul 31, 2021 · 3 comments · Fixed by #501
Labels
bug Something isn't working

Comments

@Nodezero1
Copy link

Did you read the instructions?

The problem

After upgrading to the 2021.8 beta HA core. Sensors such as the temperature and light sensors connected to the Somfy Tahoma are unavailable and the following is listed in the log.

What version of this integration (ha-tahoma) has the issue?

2.5.1

What version of Home Assistant Core has the issue?

core-2021.8.0b5

Which gateway / hub do you use?

Tahoma V2 Hub

Device model

LuminanceSensor and TemperatureSensor

Device type

io:LightIOSystemSensor and io:TemperatureIOSystemSensor

Additional information

No response

Relevant log output

Logger: homeassistant.setup
Source: setup.py:311
First occurred: 8:04:23 AM (1 occurrences)
Last logged: 8:04:23 AM

Unable to prepare setup for platform tahoma.sensor: Platform not found (cannot import name 'ELECTRICAL_CURRENT_AMPERE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)).
@Nodezero1 Nodezero1 added the bug Something isn't working label Jul 31, 2021
@iMicknl
Copy link
Owner

iMicknl commented Jul 31, 2021

Thanks for reporting, @Nodezero1!

It seems that ELECTRICAL_CURRENT_AMPERE is renamed to ELECTRIC_CURRENT_AMPERE in home-assistant/core#53243. We will fix this in the coming days :-).

@iMicknl
Copy link
Owner

iMicknl commented Jul 31, 2021

Could you give https://github.com/iMicknl/ha-tahoma/archive/refs/heads/fix/500.zip a try? Extract this file and place custom_components/tahoma in your custom_components folder.

This should fix your issues with the latest beta. :-)

@Nodezero1
Copy link
Author

Thanks, that did the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants