mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Minor improvement of frame helper (#101387)
* Minor improvement of frame helper * Add new custom integration for testing * Make IntegrationFrame kw_only
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
"""An integration which calls helpers.frame.get_integration_frame."""
|
||||
|
||||
from homeassistant.helpers import frame
|
||||
|
||||
|
||||
def call_get_integration_frame() -> frame.IntegrationFrame:
|
||||
"""Call get_integration_frame."""
|
||||
return frame.get_integration_frame()
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"domain": "test_integration_frame",
|
||||
"name": "Test Integration Frame",
|
||||
"documentation": "http://example.com",
|
||||
"requirements": [],
|
||||
"dependencies": [],
|
||||
"codeowners": [],
|
||||
"version": "1.2.3"
|
||||
}
|
||||
Reference in New Issue
Block a user