mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Change trigger platform key to trigger (#124357)
* fix * Fix * Fix * Update homeassistant/helpers/config_validation.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Fix * Fix * Fix * Fix * Add more tests * Fix * Fix tests * Add tests * Let's see what the CI does * It fails on the code that tested the thing ofc * It fails on the code that tested the thing ofc * Revert test thingy * Now the test works again, lovely * Another one * Fix websocket thingy * Only copy when needed * Improve comment * Remove test * Fix docstring * I think this now also work since this transforms trigger to platform * Add comment * Update homeassistant/helpers/config_validation.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Update homeassistant/helpers/config_validation.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Update homeassistant/helpers/config_validation.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Check for mapping * Add test * Update homeassistant/helpers/config_validation.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Update test to also test for trigger keys --------- Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
committed by
GitHub
parent
9d29307532
commit
a1906b434f
@@ -282,6 +282,7 @@ CONF_THEN: Final = "then"
|
||||
CONF_TIMEOUT: Final = "timeout"
|
||||
CONF_TIME_ZONE: Final = "time_zone"
|
||||
CONF_TOKEN: Final = "token"
|
||||
CONF_TRIGGER: Final = "trigger"
|
||||
CONF_TRIGGERS: Final = "triggers"
|
||||
CONF_TRIGGER_TIME: Final = "trigger_time"
|
||||
CONF_TTL: Final = "ttl"
|
||||
|
||||
Reference in New Issue
Block a user