As you can see I tried to add my personal stats (sensor.wind_speed_average_1_minute) but I am getting value unknown.
In logs said something like “different measurement” that’s why I tried to add the “km/h” but it wouldn’t pass the configuration validation.
Any ideas how I could have the max value from these sensors?
I am trying to calibrate it it right now. I started with 1 minute and trying to see what it does in 2 minutes. I will change the name when I decide what’s working better.
They are all formatted in km/h as in the picture and the conf files.
I don’t see what more I should do.
if I try to add units of measurement in statistics sensor it gives me the following
Invalid config for [sensor.statistics]: [unit_of_measurement] is an invalid option for [sensor.statistics]. Check: sensor.statistics->unit_of_measurement. ```
You can’t just add any option you feel is required to an integration. They clearly show what options are available in the documents.
unit_of_measurement is not one for the statistics sensor as it uses whatever unit the sensor it consumes is set up with. Which should have been km/h in your case. Which was why I asked what it appeared to be.