1
0
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:
Erik Montnemery
2023-10-04 21:43:00 +02:00
committed by GitHub
parent c495d607d8
commit 7e39acda37
4 changed files with 64 additions and 10 deletions

View File

@@ -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()

View File

@@ -0,0 +1,9 @@
{
"domain": "test_integration_frame",
"name": "Test Integration Frame",
"documentation": "http://example.com",
"requirements": [],
"dependencies": [],
"codeowners": [],
"version": "1.2.3"
}