@Makis wrote:
I just install an anemometer (reports values through mqtt)
- platform: mqtt name: "Wind Speed" state_topic: "anemometer/wind" unit_of_measurement: 'km/h'
Since it reports values very often I added the below sensor in order to have a better sample
- platform: statistics entity_id: sensor.wind_speed name: wind speed average 1 minute #unit_of_measurement: 'km/h' sampling_size: 30 max_age: minutes: 2
I am getting the wind speed from other sources too (comparison) so I have the following (final for my automation) sensor
- platform: min_max #type: max name: Wind Speed Automation entity_ids: - sensor.marousi - sensor.dark_sky_wind_speed - sensor.ha_wind_speed #- sensor.wind_speed_average_1_minute
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?
Posts: 1
Participants: 1