Closed bezigebever closed 6 months ago
I temporarely commented out the awa_temp parameter, after restart the thermostat seems to be working.
Did you update to the beta version? Then it will fail when booting after update when away preset is defined. Updating has it's merits:
So only after a reboot to the new version, new config options can be included. And to avoid errors while updating , removed options need to be removed from config.
With this beta version the 'away' preset has been replaced by 'extra_presets'. You can read more about it in the beta version readme and/or at the examples folder wirhin the multizone explained file.
Indeed running the beta version and I had missed the change in the config. extra_presets is working :-) I also have another error on my template sensors:
Logger: homeassistant.components.template.template_entity
Source: components/template/template_entity.py:194
Integration: Template (documentation, issues)
First occurred: 17:46:05 (6 occurrences)
Last logged: 17:59:13
TemplateError('UndefinedError: 'None' has no attribute 'heat'') while processing template 'Template<template=({{ state_attr('climate.beneden', 'hvac_def')['heat']['PID_P'] | float(0)}}) renders=14>' for attribute '_attr_native_value' in entity 'sensor.beneden_pid_p'
TemplateError('UndefinedError: 'None' has no attribute 'heat'') while processing template 'Template<template=({{ state_attr('climate.beneden', 'hvac_def')['heat']['PID_I'] | float(0)}}) renders=14>' for attribute '_attr_native_value' in entity 'sensor.beneden_pid_i'
TemplateError('UndefinedError: 'None' has no attribute 'heat'') while processing template 'Template<template=({{ state_attr('climate.beneden', 'hvac_def')['heat']['PID_D'] | float(0)}}) renders=14>' for attribute '_attr_native_value' in entity 'sensor.beneden_pid_d'
TemplateError('UndefinedError: 'None' has no attribute 'heat'') while processing template 'Template<template=({{ state_attr('climate.beneden', 'hvac_def')['heat']['PID_valve_pos'] | float(0)}}) renders=14>' for attribute '_attr_native_value' in entity 'sensor.beneden_pid_valve_pos'
TemplateError('UndefinedError: 'None' has no attribute 'heat'') while processing template 'Template<template=({{ state_attr('climate.beneden', 'hvac_def')['heat']['control_output']['pwm_out'] | float(0)}}) renders=14>' for attribute '_attr_native_value' in entity 'sensor.beneden_pwm_out'
Not clear for me what goes wrong, mayube you can shed a light. Many thanks !
The thermostat has not been initialsied yet and therefore ithe template cannot read the pid values. You could include an if statement, something like 'if climate = none, then none , else ...'
Regarding the config error I'll try to convert old configs to the new version and issue a warning.
Issue a warning would be great, as not alway reading all release notes... Many thanks ! Can be closed.
Afer update I have following error :
Thermostat is no longer working.