Closed wuppiwuppi closed 11 months ago
My devices: OmadaController on linux: 5.9.31 TL-SG2428P v4.0 | 4.0.5 EAP115-Wall(EU) v1.0 | 5.0.4 EAP620 HD(EU) v1.0 | 1.1.0 EAP225-Outdoor(EU) v1.0 | 5.1.0 EAP615-Wall(EU) v1.0 | 1.1.6
Homeassistant in docker 2023.6.3
I get a lot of these exceptions in my log:
2023-07-05 12:56:18.687 ERROR (MainThread) [homeassistant.util.logging] Exception in async_update when dispatching 'omada-update-b9dde06bbcdab76b4d0f7d31ab8619e2': () Traceback (most recent call last): File "/config/custom_components/omada/sensor.py", line 753, in async_update if self.update_value(): ^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/omada/sensor.py", line 736, in update_value next_value = self.entity_description.value_fn( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/omada/sensor.py", line 85, in client_tx_value_fn return round(controller.api.clients[mac].tx_rate / 1048576, 2)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
My devices: OmadaController on linux: 5.9.31 TL-SG2428P v4.0 | 4.0.5 EAP115-Wall(EU) v1.0 | 5.0.4 EAP620 HD(EU) v1.0 | 1.1.0 EAP225-Outdoor(EU) v1.0 | 5.1.0 EAP615-Wall(EU) v1.0 | 1.1.6
Homeassistant in docker 2023.6.3
I get a lot of these exceptions in my log:
2023-07-05 12:56:18.687 ERROR (MainThread) [homeassistant.util.logging] Exception in async_update when dispatching 'omada-update-b9dde06bbcdab76b4d0f7d31ab8619e2': () Traceback (most recent call last): File "/config/custom_components/omada/sensor.py", line 753, in async_update if self.update_value(): ^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/omada/sensor.py", line 736, in update_value next_value = self.entity_description.value_fn( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/omada/sensor.py", line 85, in client_tx_value_fn return round(controller.api.clients[mac].tx_rate / 1048576, 2)