Skip to content

Commit

Permalink
Add device info to met (home-assistant#41611)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored and weissm committed Oct 16, 2020
1 parent e666e2f commit eaa9828
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions homeassistant/components/met/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,14 @@ def forecast(self):
)
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",
}

0 comments on commit eaa9828

Please sign in to comment.