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 am trying to setup the airsend on home assistant
and during loading I've got the following traceback
Traceback (most recent call last):
File "/home/bnv/hass/lib/python3.9/site-packages/homeassistant/loader.py", line 744, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/home/bnv/hass/lib/python3.9/site-packages/homeassistant/loader.py", line 761, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/home/bnv/.homeassistant/custom_components/airsend/sensor.py", line 81, in <module>
class AirSendStateSensor(BinarySensorEntity):
File "/home/bnv/.homeassistant/custom_components/airsend/sensor.py", line 117, in AirSendStateSensor
def device_class(self) -> BinarySensorDeviceClass | None:
TypeError: unsupported operand type(s) for |: 'EnumMeta' and 'NoneType'
The text was updated successfully, but these errors were encountered:
I am trying to setup the airsend on home assistant
and during loading I've got the following traceback
The text was updated successfully, but these errors were encountered: