Skip to content

Error on startup (3.4.14) #541

@kzipkzip

Description

@kzipkzip

Updated to 3.4.14 - all working fine, but I did notice an error in my logs as follows;

Logger: homeassistant
Source: custom_components/wiser/climate.py:1046
integration: Drayton Wiser Integration for Home Assistant (documentation, issues)
First occurred: 14:45:00 (1 occurrences)
Last logged: 14:45:00
Error doing job: Task exception was never retrieved (None)

Traceback (most recent call last):
File "/config/custom_components/wiser/climate.py", line 1046, in run_automation
if self.current_temperature <= self.target_temperature_low or (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<=' not supported between instances of 'NoneType' and 'int'

I'm wondering if this is perhaps caused by the loading order of the integrations in Home Assistant. The Wiser integration loads before the Sonoff integration on my system - but the Sonoff is providing the hot water tank sensor value, so it's maybe not ready when the Wiser tries to query it.

I'm not familiar with a way to set the loading order or specify a dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions