core: Minut Point fails to create sensors and binary_sensors
The problem
Sensors and Binary Sensor from Point Minut device fails to be created on start.
What version of Home Assistant Core has the issue?
core-2021.11.0
What was the last working version of Home Assistant Core?
core-2021.10.7
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Point Minut
Link to integration documentation on our website
https://www.home-assistant.io/integrations/point/
Example YAML snippet
Nothing i know off
Anything in the logs that might be useful for us?
Logger: homeassistant.components.binary_sensor
Source: helpers/device_registry.py:426
Integration: Binär sensor (documentation, issues)
First occurred: 17:24:30 (1 occurrences)
Last logged: 17:24:30
Error adding entities for domain binary_sensor with platform point
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 499, in _async_add_entity
device = device_registry.async_get_or_create(**processed_dev_info) # type: ignore[arg-type]
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 304, in async_get_or_create
device = self._async_update_device(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 426, in _async_update_device
if setvalue is not UNDEFINED and not setvalue.issubset(old_value):
AttributeError: 'str' object has no attribute 'issubset'
Also:
Logger: homeassistant.components.sensor
Source: helpers/device_registry.py:426
Integration: Sensor (documentation, issues)
First occurred: 17:25:34 (1 occurrences)
Last logged: 17:25:34
Error adding entities for domain sensor with platform point
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 499, in _async_add_entity
device = device_registry.async_get_or_create(**processed_dev_info) # type: ignore[arg-type]
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 304, in async_get_or_create
device = self._async_update_device(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 426, in _async_update_device
if setvalue is not UNDEFINED and not setvalue.issubset(old_value):
AttributeError: 'str' object has no attribute 'issubset'
And a third entry:
Logger: homeassistant
Source: helpers/device_registry.py:426
First occurred: 17:25:44 (2 occurrences)
Last logged: 17:25:44
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 499, in _async_add_entity
device = device_registry.async_get_or_create(**processed_dev_info) # type: ignore[arg-type]
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 304, in async_get_or_create
device = self._async_update_device(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 426, in _async_update_device
if setvalue is not UNDEFINED and not setvalue.issubset(old_value):
AttributeError: 'str' object has no attribute 'issubset'
Additional information
Alarm Control seems fine
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (9 by maintainers)
Yes, that is right. I’m updating now. Thank you!