Add unique IDs to automation/scenes (#31150)

* Add unique IDs to automation and scenes

* Fix typo
This commit is contained in:
Paulus Schoutsen 2020-01-26 23:01:35 -08:00 committed by GitHub
parent 8fff6462a1
commit 1f0f62de7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 123 additions and 27 deletions

View file

@ -10,7 +10,7 @@ from . import EditKeyBasedConfigView
async def async_setup(hass):
"""Set up the script config API."""
async def hook(hass):
async def hook(action, config_key):
"""post_write_hook for Config View that reloads scripts."""
await hass.services.async_call(DOMAIN, SERVICE_RELOAD)