paulchartres / hass-tiko

A RESTful API to access Tiko Smart data. Made with Home Assistant in mind.
11 stars 3 forks source link

Switch heaters on/off took longer than the scheduled update interval 0:00:30 #3

Open Ecklypse opened 9 months ago

Ecklypse commented 9 months ago

Hi Paul,

The logs got me back the below: Logger: homeassistant.components.command_line Source: components/command_line/switch.py:218 Integration: Command Line (documentation, issues) First occurred: 08:29:30 (39 occurrences) Last logged: 09:45:30

Updating Command Line Switch Heaters on/off took longer than the scheduled update interval 0:00:30

It seems that when trying to post, something happens, I just noticed it since i just turned on the heaters today as it starts to be cold here now ^^. So did not had time to yet dive into it.

Thank you Paul.

Ecklypse commented 9 months ago

Ah there is also this one which is probably related: I have attached here my tiko.yaml post renaming into txt to get it authorized for download into Github

Logger: homeassistant.helpers.switch Source: helpers/trigger_template_entity.py:208 First occurred: 1 novembre 2023 à 22:20:27 (33 occurrences) Last logged: 07:55:32

Error rendering icon template for switch.heaters_boost: UndefinedError: 'value_json' is undefined Error rendering icon template for switch.heaters_frost: UndefinedError: 'value_json' is undefined Error rendering icon template for switch.heaters_absence: UndefinedError: 'value_json' is undefined Error rendering icon template for switch.heaters_on_off: UndefinedError: 'value_json' is undefined Error rendering icon template for switch.heaters_off: UndefinedError: 'value_json' is undefined tiko - Copy.txt

Ecklypse commented 9 months ago

and this one too: Logger: homeassistant.helpers.template Source: helpers/template.py:2244 First occurred: 1 novembre 2023 à 22:20:27 (33 occurrences) Last logged: 07:55:32

Template variable error: 'value_json' is undefined when rendering '{% if (value_json.boost) %} mdi:sun-thermometer {% else %} mdi:lightning-bolt-outline {% endif %}' Template variable error: 'value_json' is undefined when rendering '{% if (value_json.frost) %} mdi:snowflake-thermometer {% else %} mdi:snowflake-thermometer {% endif %}' Template variable error: 'value_json' is undefined when rendering '{% if (value_json.absence) %} mdi:door-closed-lock {% else %} mdi:door {% endif %}' Template variable error: 'value_json' is undefined when rendering '{% if (value_json.disableHeating) %} mdi:radiator-off {% else %} mdi:radiator-off {% endif %}'

yes something goes wrong there ^^