Replies: 1 comment 2 replies
-
Hi! I think the syntax of the value is not completely right. It should rather be something like: The transformation part might also show an error at the log(). What exactly should be done in this transformation? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Hope anyone can help me out since I cannot get my temaplete sensor to work, I always get:
ValueError: Template error: float got invalid input 'unknown' when rendering template 'sensors: wind_at_2m: friendly_name: Wind Speed at 2m value_template: {{states('[sensor.gw2000a_wind_speed (WSmeasured)]')|float()(4.87/log((67.8[1 (H)])-5.42))}}' but no default was specified
I'm using:
sensors:
wind_at_2m:
friendly_name: Wind Speed at 2m
value_template: {{states('[sensor.gw2000a_wind_speed (WSmeasured)]')|float()(4.87/log((67.8[1 (H)])-5.42))}}
Can't find where I'm doing it wrong.
Beta Was this translation helpful? Give feedback.
All reactions