You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of currently previous issues..
Describe the issue
Sensors fail to work
Error while setting up tgtg platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tgtg/sensor.py", line 77, in setup_platform
add_entities([TGTGSensor(each_item_id)])
^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tgtg/sensor.py", line 97, in __init__
self.update()
File "/config/custom_components/tgtg/sensor.py", line 190, in update
self.tgtg_answer = tgtg_client.get_item(item_id=self.item_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tgtg/__init__.py", line 287, in get_item
raise TgtgAPIError(response.status_code, response.content)
tgtg.exceptions.TgtgAPIError: (410, b'{"errors":[{"code":"ENTITY_DISABLED"}]}')
Reproduction steps
Config:
sensor:
- platform: tgtg
email: !secret tgtg_username
access_token: !secret tgtg_access_token
refresh_token: !secret tgtg_refresh_token
user_id: !secret tgtg_user_id
cookie: !secret tgtg_cookie
scan_interval: 180
item:
- xxxxx # this contains actual IDs in my config. All the secrets also exist
Restart Home Assistant
The error will show up in the logs
I think this might be related to a new version of Home Assistant, because the problem started occurring after updating to 2023.11
Debug logs
Too big to paste, 15MB of data.
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered:
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
Sensors fail to work
Reproduction steps
Config:
I think this might be related to a new version of Home Assistant, because the problem started occurring after updating to 2023.11
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: