mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
Device registry store config entry (#16152)
* Allow device registry to optionally store config entries * Connections and identifiers are now sets with tupels * Make config entries mandatory * Fix duplicate keys in test * Rename device to device_info * Entity platform should only create device entries if config_entry_id exists * Fix Soundtouch tests * Revert soundtouch to use self.device * Fix baloobs comments * Correct type in test
This commit is contained in:
committed by
Paulus Schoutsen
parent
24a8d60566
commit
97173f495c
@@ -131,7 +131,7 @@ class Entity:
|
||||
return None
|
||||
|
||||
@property
|
||||
def device(self):
|
||||
def device_info(self):
|
||||
"""Return device specific attributes.
|
||||
|
||||
Implemented by platform classes.
|
||||
|
||||
Reference in New Issue
Block a user