Giter VIP home page Giter VIP logo

homeassistant-tplink-integration's People

Contributors

michalmoczynski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homeassistant-tplink-integration's Issues

Errors after set up

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.