Add config flow for platform button in Template (#120886)

This commit is contained in:
dougiteixeira 2024-07-09 16:20:18 -03:00 committed by GitHub
parent 5e56c27703
commit d783813ba0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 384 additions and 53 deletions

View file

@ -297,6 +297,13 @@ async def async_yaml_patch_helper(hass, filename):
"state": "{{1 == 2}}",
},
),
(
{
"template_type": "button",
"name": "My template",
},
{},
),
],
)
async def test_change_device(