diff --git a/dashboard/src/ha_ext.rs b/dashboard/src/ha_ext.rs index 2182519..e64e71c 100644 --- a/dashboard/src/ha_ext.rs +++ b/dashboard/src/ha_ext.rs @@ -111,7 +111,7 @@ impl From<&HassEntity> for WeatherData { } .to_shared_string(); - let label = pretty_label(&kind).to_shared_string(); + let label = pretty_label(&value.state).to_shared_string(); let attribution = value .attributes