Open f45tb00t opened 11 months ago
Hi, you need to update to 2.2.0
Hi,
as mentioned in the subject I upgraded already to v2.2.0?
What I did to update. Download, extracted and moved the files and folders to ~/.homeassistant/custom_components/thermal_comfort
So you just extracted the new files over the old ones? Then delete config.py from the thermal_comfort folder, it's a left over from the previous version. Or better, always delete the old thermal_comfort before extracting the new one.
This indicates the leftover:
2023-12-07 16:09:14.021 ERROR (MainThread) [homeassistant.config] Error importing config platform thermal_comfort: cannot import name 'async_log_exception' from 'homeassistant.config' (/srv/homeassistant/lib/python3.11/site-packages/homeassistant/config.py)
The template errors are just there because thermal_comfort isn't loaded because of the config.py error so your templates aren't working.
Or better, always delete the old thermal_comfort before extracting the new one.
Hi,
I did it this way now. Issue solved. Thanks a lot! :)
Hi,
it seems the issue came up again.
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ ( float(states('sensor.thermal_comfort_garage_absolute_luftfeuchtigkeit')) - float(states('sensor.thermal_comfort_draussen_absolute_humidity')) ) | float | round (2) }}' but no default was specified
2024-10-03 14:34:33.795 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ ( float(states('sensor.thermal_comfort_garage_absolute_luftfeuchtigkeit')) - float(states('sensor.thermal_comfort_draussen_absolute_humidity')) ) | float | round (2) }}' but no default was specified') while processing template 'Template<template=({{ ( float(states('sensor.thermal_comfort_garage_absolute_luftfeuchtigkeit')) - float(states('sensor.thermal_comfort_draussen_absolute_humidity')) ) | float | round (2) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.absolute_luftfeuchtigkeit_unterschied_garage_aussen'
Any direction please to fix this issue?
I've stumbled over the same issue, that I'm unable to utilize the sensor data in an automation. The return value can't be handled:
Template error: float got /alid input 'unknown' when rendering template 'K (float(states('sensor.tc_office_absolute_humidity')) - float(states('sensor.tc_outside_absolute_humidity'))) | float | round (2) }}' but no default was specified')
@rautesamtr @dolezsa Any advise how we can fix that?
Still struggling to use thermal comfort for automations. Can we somehow support to debug and resolve this?
Hi,
first of all: Thank you for this great work. This integration is pretty much AWESOME! :)
Since my update yesterday to the HA version 2023.12.0 I have several issues in the logs and the integration cannot be loaded. I did not have time to investigate more the issue, was on a business trip and just came back - sorry for that. But maybe you have an idea what it could be.