adaptive-lighting icon indicating copy to clipboard operation
adaptive-lighting copied to clipboard

TypeError: '>' not supported between instances of 'int' and 'str'

Open LEJOUI opened this issue 3 years ago • 0 comments

Version information:

1.0.14 HA 2021.10.2

Description:

There’s this error popping up in my logs. However I’m not noticing an effect in the performance though.

Deze fout is ontstaan door een aangepaste integratie.

Logger: homeassistant
Source: custom_components/adaptive_lighting/switch.py:1461 
Integration: adaptive_lighting 
First occurred: 9 oktober 2021 23:07:22 (2 occurrences) 
Last logged: 9 oktober 2021 23:11:28

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/adaptive_lighting/switch.py", line 944, in _light_event
    if await self.turn_on_off_listener.maybe_cancel_adjusting(
  File "/config/custom_components/adaptive_lighting/switch.py", line 1461, in maybe_cancel_adjusting
    delay = max(transition, TURNING_OFF_DELAY)
TypeError: '>' not supported between instances of 'int' and 'str'

LEJOUI avatar Oct 10 '21 06:10 LEJOUI