Add device info to met (#41611)
This commit is contained in:
parent
4ece928c0a
commit
dc1b1706f1
1 changed files with 11 additions and 0 deletions
|
@ -225,3 +225,14 @@ class MetWeather(CoordinatorEntity, WeatherEntity):
|
|||
)
|
||||
ha_forecast.append(ha_item)
|
||||
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…
Add table
Reference in a new issue