Open tingox opened 2 years ago
For the int, float warnings you need to add (default=0)
in 28 different places where there is | int
or | float
.
Example:
(
states(entity_id) is number
or states(entity_id) | length == states(entity_id)| int(default=0) | string | length
or states(entity_id) | length == states(entity_id)| float(default=0) | string | length
)
Thanks! Adding that fix also fixed the errors, as the script now produces no warning or errors, and still reports low batteries.
a couple of warnings in 2022.2.9 (and previous 2022.x versions)
there are also a couple of errors
this is with the fixes in pull request #33 added.