r-renato / ha-climacell-weather

Climacell weather provider integration is a custom component for Home Assistant. The climacell platform uses the Climacell API as a source for meteorological data for your location.
MIT License
46 stars 10 forks source link

Climacell errors on HA v2021.4.0 #59

Closed derekoharrow closed 3 years ago

derekoharrow commented 3 years ago

Just upgraded to HA v2021.4.0 and climacell is giving errors now:

2021-04-08 09:53:06 WARNING (MainThread) [homeassistant.loader] You are using a custom integration climacell 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
2021-04-08 09:53:06 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'climacell'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'climacell'
/config/custom_components/climacell/data_provider.py:183: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.__fields is not "":
2021-04-08 09:53:07 WARNING (SyncWorker_3) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Temperature
2021-04-08 09:53:07 WARNING (SyncWorker_6) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Feels Like
2021-04-08 09:53:07 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2021-04-08 09:53:08 WARNING (SyncWorker_5) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Precipitation
2021-04-08 09:53:08 WARNING (SyncWorker_5) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Precipitation Type
2021-04-08 09:53:08 WARNING (SyncWorker_1) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Weather Condition
2021-04-08 09:53:08 WARNING (SyncWorker_12) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Temperature 0d
2021-04-08 09:53:09 WARNING (SyncWorker_2) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Temperature 1d
2021-04-08 09:53:09 WARNING (SyncWorker_13) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Temperature 2d
2021-04-08 09:53:09 WARNING (SyncWorker_2) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Feels Like 0d
2021-04-08 09:53:10 WARNING (SyncWorker_7) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Feels Like 1d
2021-04-08 09:53:10 WARNING (SyncWorker_13) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Feels Like 2d
2021-04-08 09:53:10 WARNING (SyncWorker_1) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Precipitation 0d
2021-04-08 09:53:10 WARNING (SyncWorker_3) [custom_components.climacell.sensor] TimelineSensor.update - Provider has no data for: cc climacell Precipitation 1d

Most worrying is the 3rd line:

/config/custom_components/climacell/data_provider.py:183: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.__fields is not "":
derekoharrow commented 3 years ago

Seems to be working again now...