Home Assistant - New Zealand

Mine has also stopped working over the last couple of days, to be more percise on the 22nd @ 4:16PM - looked on Github but didn’t see any new issues logged.

Running v0.7.0 on HA 2024.11.3

Logger: custom_components.metservice_weather.coordinator
Source: custom_components/metservice_weather/coordinator.py:322
integration: MetService New Zealand Weather (documentation, issues)
First occurred: November 23, 2024 at 4:05:27 PM (240 occurrences)
Last logged: 6:07:35 PM

Error retrieving public sensor 'hourly_bkp_obs': 'hourly_bkp_obs'
Error retrieving public sensor 'hourly_bkp_skip': 'hourly_bkp_skip'
Error retrieving public sensor 'hourly_bkp_temp': 'hourly_bkp_temp'

And also

Logger: homeassistant
Source: custom_components/metservice_weather/weather.py:373
integration: MetService New Zealand Weather (documentation, issues)
First occurred: November 23, 2024 at 4:25:27 PM (78 occurrences)
Last logged: 6:07:35 PM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 266, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 481, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 176, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/weather/__init__.py", line 1216, in _handle_coordinator_update
    super()._handle_coordinator_update()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 561, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1007, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state
    self.__async_calculate_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1073, in __async_calculate_state
    if extra_state_attributes := self.extra_state_attributes:
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/metservice_weather/weather.py", line 339, in extra_state_attributes
    'forecast_hourly': self.forecast_hourly,
                       ^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/metservice_weather/weather.py", line 373, in forecast_hourly
    hourly_obs + hourly_skip,
    ~~~~~~~~~~~^~~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

About 7 posts above yours has a link to the GitHub issue.

Mine is a different error message.

My integration does not show an error in the GUI looks all good.

But all the entities are showing as “unknown”

I opened a New GitHub issue for symptoms I observed

stop working here to

For those that haven’t seen the update on GitHub, version 0.8.0 of the Met Service Integration has been released. Just loaded it and Met Service is working again.

I restarted HA and the update was available so I updated and restarted again but still not working here (Christchurch Central)
So I removed the integration, restarted, reinstalled the integration but still no go.
Bed time now.

Still not working for me either, ill rebuild it tomorrow

Removed hacs, rebooted, installed again and all is fine with the world :slight_smile:

It seems, on my HA, that most entities now work except the “Forecast” one which is “no longer being provided by the metservice_weather integration”

I tried a few different locations to no avail.

Does anyone else have the Forecast entity working?

I have 2 forecast entities (chch city and port hills) and both are working. Last updated 6.28am.

Progress.
When I “Enable tide information” I get the weather forecast on the entries for Christchurch Central, Eastern Suburbs and Marshland.
Unfortunately though, the Marshland entry is missing some other entries like “drying time” which I quite like (as a house husband".

With the Geonet Earthquake and Volcano integrations, do you think we’ll ever get one for Tsunamis?

What’s everyone using for tide information, NIWA or metservice?

World Tides.

Yeah bro sounds food sorry I just seen this ill send you my details