Implement template rate_limit directive (#40667)

This commit is contained in:
J. Nick Koston authored and Paulus Schoutsen committed 2020-10-01 19:58:16 +00:00
1 parent b9931aabe7
commit 0902caa7e4
10 files changed
+669 -18

No files matched your search

+1
View File
@@ -115,6 +115,7 @@ async def test_template_state_boolean(hass, calls):
async def test_template_position(hass, calls):
"""Test the position_template attribute."""
hass.states.async_set("cover.test", STATE_OPEN)
with assert_setup_component(1, "cover"):
assert await setup.async_setup_component(
hass,