You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appear to be receiving 2 errors after completing the configuration and restarting HA.
Also, all 5 of my devic.txt files in /config/scripts/tplink-kasa/devices = " null,null,null,null,null"
Logger: homeassistant.helpers.event
Source: helpers/template.py:396
First occurred: 12:39:26 PM (5 occurrences)
Last logged: 12:39:26 PM
First error
Error while processing template: Template("{{ states('sensor.light1_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light2_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light3_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light4_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light5_light_temp', 'deg') | int}}")
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 394, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1477, in _render_with_context
return template.render(**kwargs)
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 1, in top-level template code
File "/usr/local/lib/python3.9/site-packages/jinja2/sandbox.py", line 393, in call
return __context.call(__obj, *args, **kwargs)
TypeError: call() takes 2 positional arguments but 3 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 510, in async_render_to_info
render_info._result = self.async_render(variables, strict=strict, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 396, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: call() takes 2 positional arguments but 3 were given
Second error
Logger: homeassistant.components.template.template_entity
Source: components/template/template_entity.py:72
Integration: Template (documentation, issues)
First occurred: 12:39:26 PM (5 occurrences)
Last logged: 12:39:26 PM
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light1_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light1'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light2_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light2'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light3_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light3'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light4_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light4'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light5_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light5'
The text was updated successfully, but these errors were encountered:
I appear to be receiving 2 errors after completing the configuration and restarting HA.
Also, all 5 of my devic.txt files in /config/scripts/tplink-kasa/devices = " null,null,null,null,null"
Logger: homeassistant.helpers.event
Source: helpers/template.py:396
First occurred: 12:39:26 PM (5 occurrences)
Last logged: 12:39:26 PM
First error
Error while processing template: Template("{{ states('sensor.light1_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light2_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light3_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light4_light_temp', 'deg') | int}}")
Error while processing template: Template("{{ states('sensor.light5_light_temp', 'deg') | int}}")
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 394, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1477, in _render_with_context
return template.render(**kwargs)
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 1, in top-level template code
File "/usr/local/lib/python3.9/site-packages/jinja2/sandbox.py", line 393, in call
return __context.call(__obj, *args, **kwargs)
TypeError: call() takes 2 positional arguments but 3 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 510, in async_render_to_info
render_info._result = self.async_render(variables, strict=strict, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 396, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: call() takes 2 positional arguments but 3 were given
Second error
Logger: homeassistant.components.template.template_entity
Source: components/template/template_entity.py:72
Integration: Template (documentation, issues)
First occurred: 12:39:26 PM (5 occurrences)
Last logged: 12:39:26 PM
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light1_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light1'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light2_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light2'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light3_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light3'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light4_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light4'
TemplateError('TypeError: call() takes 2 positional arguments but 3 were given') while processing template 'Template("{{ states('sensor.light5_light_temp', 'deg') | int}}")' for attribute '_temperature' in entity 'light.light5'
The text was updated successfully, but these errors were encountered: