2024-03-19 08:37:13.843 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: list object has no element 1') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) %} {{ state_attr('sensor.ks_wlanthermo', 'pitmaster').pm[1]['value'] }} {% else %} 0 {% endif %}) renders=6>' for attribute '_attr_native_value' in entity 'sensor.pitmaster_2'
2024-03-19 08:37:13.844 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: list object has no element 1') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) %} {{ state_attr('sensor.ks_wlanthermo', 'pitmaster').pm[1]['channel'] }} {% else %} 0 {% endif %}) renders=6>' for attribute 'channel' in entity 'sensor.pitmaster_2'
2024-03-19 08:37:13.844 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: list object has no element 1') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) %} {{ state_attr('sensor.ks_wlanthermo', 'pitmaster').pm[1]['pid'] }} {% else %} 0 {% endif %}) renders=6>' for attribute 'pid' in entity 'sensor.pitmaster_2'
2024-03-19 08:37:13.844 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: list object has no element 1') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) %} {{ state_attr('sensor.ks_wlanthermo', 'pitmaster').pm[1]['set'] }} {% else %} 0 {% endif %}) renders=6>' for attribute 'set' in entity 'sensor.pitmaster_2'
2024-03-19 08:37:13.845 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: list object has no element 1') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) %} {{ state_attr('sensor.ks_wlanthermo', 'pitmaster').pm[1]['typ'] }} {% else %} 0 {% endif %}) renders=6>' for attribute 'type' in entity 'sensor.pitmaster_2'
2024-03-19 08:37:13.846 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: list object has no element 1') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) %} {{ state_attr('sensor.ks_wlanthermo', 'pitmaster').pm[1]['set_color'] }} {% else %} 0 {% endif %}) renders=6>' for attribute 'set_color' in entity 'sensor.pitmaster_2'
2024-03-19 08:37:13.897 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) and (state_attr('sensor.ks_wlanthermo', 'channel')[state_attr('sensor.ks_wlanthermo_pitmaster_1_all','channel')-1]['temp'] < 500) %} {{ state_attr('sensor.ks_wlanthermo', 'channel')[state_attr('sensor.ks_wlanthermo_pitmaster_1_all','channel')-1]['temp'] }} {% else %} 0 {% endif %}) renders=6>' for attribute '_attr_native_value' in entity 'sensor.ks_wlanthermo_pitmaster_1_temp'
2024-03-19 08:37:13.900 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'') while processing template 'Template<template=({% if not is_state('sensor.ks_wlanthermo', 'unavailable') and (not is_state('sensor.ks_wlanthermo', 'unknown')) and (state_attr('sensor.ks_wlanthermo', 'channel')[state_attr('sensor.ks_wlanthermo_pitmaster_2_all','channel')-1]['temp'] < 500) %} {{ state_attr('sensor.ks_wlanthermo', 'channel')[state_attr('sensor.ks_wlanthermo_pitmaster_2_all','channel')-1]['temp'] }} {% else %} 0 {% endif %}) renders=6>' for attribute '_attr_native_value' in entity 'sensor.ks_wlanthermo_pitmaster_2_temp'