-
Notifications
You must be signed in to change notification settings - Fork 11
Description
After the Dec patch I can successfully log in, but no info can be retrieved.
2 Log events are below. Any idea why might be off / if I've done something wrong?
I have a J-375. Thanks!
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:459
integration: Switch (documentation, issues)
First occurred: 11:01:42 AM (3 occurrences)
Last logged: 4:39:24 PM
Error while setting up smarttub platform for switch: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 459, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/src/homeassistant/homeassistant/components/smarttub/switch.py", line 31, in async_setup_entry
for pump in controller.coordinator.data[spa.id][ATTR_PUMPS].values()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Logger: homeassistant.components.smarttub.controller
Source: helpers/update_coordinator.py:416
integration: SmartTub (documentation, issues)
First occurred: 11:01:28 AM (339 occurrences)
Last logged: 4:39:24 PM
Unexpected error fetching smarttub data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 307, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/smarttub/controller.py", line 95, in async_update_data
data[spa.id] = await self._get_spa_data(spa)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/smarttub/controller.py", line 102, in _get_spa_data
full_status, reminders, errors = await asyncio.gather(
^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 252, in get_status_full
return SpaStateFull(self, full_status)
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 415, in init
super().init(spa, **state)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 357, in init
self._prop(
~~~~~~~~~~^
"primaryFiltration",
^^^^^^^^^^^^^^^^^^^^
constructor=lambda p: SpaPrimaryFiltrationCycle(self.spa, **p),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 404, in _prop
constructor(self.properties[json_key]),
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 359, in
constructor=lambda p: SpaPrimaryFiltrationCycle(self.spa, **p),
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 449, in init
self._prop("mode", constructor=lambda x: self.PrimaryFiltrationMode[x])
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 404, in _prop
constructor(self.properties[json_key]),
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/smarttub/api.py", line 449, in
self._prop("mode", constructor=lambda x: self.PrimaryFiltrationMode[x])
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/usr/local/lib/python3.13/enum.py", line 793, in getitem
return cls.member_map[name]
~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'ECO_MODE'