Here also this famous message.
In about 20hours (1 day logging) I have 6100 lines of this message.
So about 300 the hour
The line comes in companion with the following lines;
AttributeError: 'NoneType' object has no attribute 'ports',
2019-11-28 19:49:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved,
Traceback (most recent call last):,
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 275, in async_update_ha_state,
self._async_write_ha_state(),
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 309, in _async_write_ha_state,
state = self.state,
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 576, in state,
return STATE_ON if self.is_on else STATE_OFF,
File "/usr/src/homeassistant/homeassistant/components/unifi/switch.py", line 204, in is_on,
return self.port.poe_mode != "off",
File "/usr/src/homeassistant/homeassistant/components/unifi/switch.py", line 249, in port,
return self.device.ports[self.client.sw_port],
AttributeError: 'NoneType' object has no attribute 'ports',
Also the logbook writes:
Error doing job: Task exception was never retrieved
21:04 components/unifi/switch.py (ERROR) - bericht kwam voor het eerst om 19:08 en verschijnt 4272 malenCouldn’t find key: ‘None’
21:04 components/unifi/switch.py (ERROR) - bericht kwam voor het eerst om 19:08 en verschijnt 4272 malen