Beta for 1.0 Error
Closed this issue ยท 5 comments
DavidFW1960 commented
Version 1 beta has killed this with the following error:
2020-12-03 09:36:14 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Greater Sydney Region for nsw_rural_fire_service_fire_danger
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/nsw_rural_fire_service_fire_danger/__init__.py", line 77, in async_setup_entry
manager = NswRfsFireDangerFeedEntityManager(hass, config_entry)
File "/config/custom_components/nsw_rural_fire_service_fire_danger/__init__.py", line 112, in __init__
self._rest = RestData(DEFAULT_METHOD, URL, None, None, None, DEFAULT_VERIFY_SSL)
TypeError: __init__() missing 1 required positional argument: 'verify_ssl'
exxamalte commented
Thanks, I can reproduce this issue.
This is related to a change of RestData
's signature in Home Assistant 0.119, and I will have to think about how to resolve this from this version onwards only.
DavidFW1960 commented
Still getting an error
Logger: homeassistant.config_entries
Source: custom_components/nsw_rural_fire_service_fire_danger/__init__.py:122
First occurred: 8:29:05 AM (1 occurrences)
Last logged: 8:29:05 AM
Error setting up entry Greater Sydney Region for nsw_rural_fire_service_fire_danger
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/nsw_rural_fire_service_fire_danger/__init__.py", line 82, in async_setup_entry
manager = NswRfsFireDangerFeedEntityManager(hass, config_entry)
File "/config/custom_components/nsw_rural_fire_service_fire_danger/__init__.py", line 122, in __init__
self._rest = RestData(
TypeError: __init__() missing 1 required positional argument: 'verify_ssl'
exxamalte commented
Could you please send the exact Home Assistant version you are getting this error with?
I tested the current version on 0.118.4 and 0.119.0dev.
DavidFW1960 commented
exxamalte commented
Thanks, I will need to fix my version check then.