Skip to content

SmartThings Integration stopped working #24649

Closed
@Crepetsky

Description

Home Assistant release with the issue: 0.94.4

Last working Home Assistant release (if known): 0.94.4

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io running on Raspberry Pi 3B+

Component/platform: SmartThings Integration ( https://www.home-assistant.io/components/smartthings/ )

Today, when I checked Lovelace, all of my devices connected through SmartThings were being reported as "Entity not Available". I tried restarting both Home Assistant and the Pi that it's running on. I decided to re-install the SmartThings integration to see if that worked. I utilized the Removal Tool ( https://pypi.org/project/hass-smartthings-remove/ ) to ensure everything was properly taken out. I created a new key and was able to add the Smart App to my SmartThings Classic App. However, when I click on the Smart App, it says "Something's Wrong. We can't load your screen right now." And Home Assistant still shows none of the previously controllable entries.

I made sure that my certificates and base URL are both accessible from the outside world (they always have been, and nothing has changed.) I have otherwise made no changes to the system prior to this issue, so I am very puzzled at this point. I enabled Debugging for the SmartThings integration, and the errors are shown below:

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Error setting up entry Home for smartthings
ValueError: 'VIPER' is not a valid DeviceType

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 273, in async_setup
    hass, self)
  File "/usr/src/homeassistant/homeassistant/components/smartthings/__init__.py", line 101, in async_setup_entry
    location_ids=[installed_app.location_id])
  File "/usr/local/lib/python3.7/site-packages/pysmartthings/smartthings.py", line 77, in devices
    return [DeviceEntity(self._service, entity) for entity in resp]
  File "/usr/local/lib/python3.7/site-packages/pysmartthings/smartthings.py", line 77, in <listcomp>
    return [DeviceEntity(self._service, entity) for entity in resp]
  File "/usr/local/lib/python3.7/site-packages/pysmartthings/device.py", line 650, in __init__
    self.apply_data(data)
  File "/usr/local/lib/python3.7/site-packages/pysmartthings/device.py", line 93, in apply_data
    self._type = DeviceType(data['type'])
  File "/usr/local/lib/python3.7/enum.py", line 310, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/lib/python3.7/enum.py", line 564, in __new__
    raise exc

Additional information:
As stated above, I didn't make any changes to the system before this occurred, so I'm not sure what caused. Any insight would be much appreciated!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions