Insteon integration not compatible with core-2021.3.4

@teharris1
I get the following error after updating to core-2021.3.4-

Logger: homeassistant.config_entries
Source: components/insteon/__init__.py:102 
First occurred: 4:36:09 PM (1 occurrences) 
Last logged: 4:36:09 PM

Error setting up entry Insteon for insteon
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 248, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/insteon/__init__.py", line 102, in async_setup_entry
    await devices.async_load(
  File "/usr/local/lib/python3.8/site-packages/pyinsteon/managers/device_manager.py", line 169, in async_load
    devices = await saved_devices_manager.async_load()
  File "/usr/local/lib/python3.8/site-packages/pyinsteon/managers/saved_devices_manager.py", line 222, in async_load
    device = _dict_to_device(saved_device)
  File "/usr/local/lib/python3.8/site-packages/pyinsteon/managers/saved_devices_manager.py", line 48, in _dict_to_device
    device = create_device(device_id)
  File "/usr/local/lib/python3.8/site-packages/pyinsteon/managers/utils.py", line 13, in create_device
    return deviceclass(
  File "/usr/local/lib/python3.8/site-packages/pyinsteon/device_types/device_base.py", line 38, in __init__
    self._cat = DeviceCategory(0xFF) if cat is None else DeviceCategory(int(cat))
  File "/usr/local/lib/python3.8/enum.py", line 339, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/lib/python3.8/enum.py", line 662, in __new__
    raise ve_exc
ValueError: 235 is not a valid DeviceCategory

All devices associated with the Insteon integration show as “unknown”.

Reverting to previous core version resolves this issue.

Created issue 47916 on GitHub.

This was resolved and appears to be installation specific. I don’t know why it happened but the issue has the solution in it.