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:
parent
c495d607d8
commit
7e39acda37
4 changed files with 64 additions and 10 deletions
|
@ -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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue