mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Change via_hub to via_device (#45804)
This commit is contained in:
parent
3e080f88c6
commit
1d94c10bb5
@ -175,7 +175,7 @@ class RoonDevice(MediaPlayerEntity):
|
||||
"name": self.name,
|
||||
"manufacturer": "RoonLabs",
|
||||
"model": dev_model,
|
||||
"via_hub": (DOMAIN, self._server.roon_id),
|
||||
"via_device": (DOMAIN, self._server.roon_id),
|
||||
}
|
||||
|
||||
def update_data(self, player_data=None):
|
||||
|
@ -188,7 +188,7 @@ class SomfyEntity(CoordinatorEntity, Entity):
|
||||
"identifiers": {(DOMAIN, self.unique_id)},
|
||||
"name": self.name,
|
||||
"model": self.device.type,
|
||||
"via_hub": (DOMAIN, self.device.parent_id),
|
||||
"via_device": (DOMAIN, self.device.parent_id),
|
||||
# For the moment, Somfy only returns their own device.
|
||||
"manufacturer": "Somfy",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user