mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Fix demo (#23087)
* Fix demo * Fix types * Fix all the things * Fix type * Fix test * Lint
This commit is contained in:
@@ -132,6 +132,10 @@ class Integration:
|
||||
)
|
||||
return cache[full_name] # type: ignore
|
||||
|
||||
def __repr__(self) -> str:
|
||||
"""Text representation of class."""
|
||||
return "<Integration {}: {}>".format(self.domain, self.pkg_path)
|
||||
|
||||
|
||||
async def async_get_integration(hass: 'HomeAssistant', domain: str)\
|
||||
-> Integration:
|
||||
|
||||
Reference in New Issue
Block a user