Closed roelvandermade closed 6 months ago
The value on the itho/state topic should be an integer but seems to be a string in this case. You cannot divide strings and that is why Home Assistant is giving the type error.
I'll change the template to first cast the input to an int and then do the calculation. ie. template: '{{ (value / 2.55) | round | int }} will become template: '{{ (value | int / 2.55) | round | int }}
Thanks for reporting this.
The value on the itho/state topic should be an integer but seems to be a string in this case. You cannot divide strings and that is why Home Assistant is giving the type error.
I'll change the template to first cast the input to an int and then do the calculation. ie. template: '{{ (value / 2.55) | round | int }} will become template: '{{ (value | int / 2.55) | round | int }}
Thanks for reporting this.
That makes sense indeed, thanks for the follow-up!
Should be fixed with https://github.com/arjenhiemstra/ithowifi/releases/tag/Version-2.7.0
Using firmware version: 2.7.0-beta1 Hardware: CVE-S ECO HP HA: 2024.1.3
I noticed mqtt errors in my HA log and am missing some working functionality in HA now, probably due to this. Unsure if this is a HA configuration or mqtt messages from the addon?