aukedejong / lovelace-windrose-card

Home Assistant Lovelace Windrose Card
82 stars 3 forks source link

Speed unit locked to beaufort #43

Closed lienbacher closed 11 months ago

lienbacher commented 11 months ago

Since quite a few releases I have noticed my speed unit in the graph is beaufort, despite configured for kph. I just checked the documentation again and was unable to find a mistake in my config.

image

This is the config in text:

type: custom:windrose-card
title: Wind direction
max_width: 400
windspeed_bar_full: true
wind_direction_entity:
  entity: sensor.gw1100a_v2_2_1_wind_direction
windspeed_entities:
  - entity: sensor.gw1100a_v2_2_1_wind_speed
    name: Average
    speed_unit: kph
input_speed_unit: kph
output_speed_unit: kph
speed_range_step: 5
speed_range_max: 50
data_period:
  hours_to_show: 168
olivierouellet commented 11 months ago

1) Remove the line input_speed_unit: kph . This is not a config option. The way to define the input speed_unit is under windspeed_entities (and you already did it).

2) Add the line speed_range_beaufort : false.

This should solve the problem. If not, please report back.

lienbacher commented 11 months ago

This worked, thank you!