Jump to content

2021.8.0 issues - Component error: isy994 - cannot import name 'VOLT' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)


Recommended Posts

Posted

Error:

Component error: isy994 - cannot import name 'VOLT' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

 

Updated from 2021.7.4 to 2021.8.0 and now isy will not load.  anyone seeing this?

Created an issue: https://github.com/home-assistant/core/issues/53969

It was mentioned: 

Quote

I think you are using the custom integration (custom_components folder)...

Not sure what this means.  Here is my setup:

configuration.yaml

####################################################
#                   ISY 994                        #
####################################################
isy994:
  host: http://172.16.5.251:80
  username: !secret isy994_username
  password: !secret isy994_password

And the integration:

image.png.a7d32d0e05cc3127c245cc80841c9a3f.png

 

I do have an isy994 directory under the custom_components folder.  My question is, what do I do with it?  Delete it?  

 

Posted

Fixed the issue by changing out 

FROM: VOLT 

TO: ELECTRIC_POTENTIAL_VOLT

for 2 cases in the const.py file; line 101 and 398.  Not sure why this is not updating with the core.

Posted

Or from @shbatm

Quote

Make sure you remove the ISY994 addon from HACS and/or remove the config/custom_components/isy994 folder. Everything from the custom component is in the current version of the core integration.

also fixes the issue... and probably the best solution.

Guest
This topic is now closed to further replies.

×
×
  • Create New...