Antoni-Czaplicki / vulcan-for-hassio

Vulcan inegration for home assistamt
26 stars 3 forks source link

Integration not works after home assistant update to 2023.4 #42

Closed piotruscilko closed 1 year ago

piotruscilko commented 1 year ago

Hi, after las update integration not works - LOG:

Logger: homeassistant.helpers.entity Source: components/calendar/init.py:345 First occurred: 16:52:43 (57 occurrences) Last logged: 17:50:59

Update for calendar.vulcan_calendar_xxxxxxxxxxxxxxx fails Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 229, in _run return self._exec(self._compiled, value, path) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 355, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 353, in _exec v = func(path, v) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable return schema(data) File "/usr/src/homeassistant/homeassistant/components/calendar/init.py", line 82, in validate raise vol.Invalid("Expected all values to have a timezone") voluptuous.error.Invalid: Expected all values to have a timezone

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/calendar/init.py", line 343, in post_init__ CALENDAR_EVENT_SCHEMA(dataclasses.asdict(self, dict_factory=skip_none)) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 276, in call__ raise er.MultipleInvalid([e]) voluptuous.error.MultipleInvalid: Expected all values to have a timezone

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 550, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 763, in async_device_update await task File "/usr/src/homeassistant/homeassistant/components/vulcan/calendar.py", line 158, in async_update self._event = CalendarEvent( File "", line 11, in init File "/usr/src/homeassistant/homeassistant/components/calendar/init.py", line 345, in __post_init__ raise HomeAssistantError( homeassistant.exceptions.HomeAssistantError: Failed to validate CalendarEvent: Expected all values to have a timezone

xtronets commented 1 year ago

To samo u mnie

Antoni-Czaplicki commented 1 year ago

Please try updating integration to the master branch

mariuszxeno commented 1 year ago

In my case, using the master branch, i.e. 8ed8941, removed the problem described in the thread, the calendar works, the logs are clean.

Antoni-Czaplicki commented 1 year ago

Great, i will push the release today