mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Add device info to met (#41611)
This commit is contained in:
parent
4ece928c0a
commit
dc1b1706f1
@ -225,3 +225,14 @@ class MetWeather(CoordinatorEntity, WeatherEntity):
|
|||||||
)
|
)
|
||||||
ha_forecast.append(ha_item)
|
ha_forecast.append(ha_item)
|
||||||
return ha_forecast
|
return ha_forecast
|
||||||
|
|
||||||
|
@property
|
||||||
|
def device_info(self):
|
||||||
|
"""Device info."""
|
||||||
|
return {
|
||||||
|
"identifiers": {(DOMAIN,)},
|
||||||
|
"manufacturer": "Met.no",
|
||||||
|
"model": "Forecast",
|
||||||
|
"default_name": "Forecast",
|
||||||
|
"entry_type": "service",
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user