-
Notifications
You must be signed in to change notification settings - Fork 8
Description
This broke recently, although I think the same issue happened last year? Here's the error:
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:738
integration: Sensor (documentation, issues)
First occurred: 24 February 2025 at 20:19:24 (1 occurrences)
Last logged: 24 February 2025 at 20:19:24
epic_games: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 738, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1320, in async_device_update
await hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/epic_games/sensor.py", line 185, in update
runtime=game["viewableDate"].split("T")[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'