mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add device_info to Apple TV entities (#47837)
This commit is contained in:
parent
263023a152
commit
518c86a0ab
@ -151,6 +151,13 @@ class AppleTVEntity(Entity):
|
||||
"""No polling needed for Apple TV."""
|
||||
return False
|
||||
|
||||
@property
|
||||
def device_info(self):
|
||||
"""Return the device info."""
|
||||
return {
|
||||
"identifiers": {(DOMAIN, self._identifier)},
|
||||
}
|
||||
|
||||
|
||||
class AppleTVManager:
|
||||
"""Connection and power manager for an Apple TV.
|
||||
|
Loading…
x
Reference in New Issue
Block a user