Add support for for to binary_sensor, light and switch device conditions (#27153)
* Add support for `for` to binary_sensor, light and switch device conditions * Fix typing * Fixup * Fixup
This commit is contained in:
1 parent
4733fea416
commit
cda7692f24
13 files changed
+447
-12
No files matched your search
@@ -136,7 +136,7 @@ async def async_get_triggers(hass, device_id):
|
||||
return triggers
|
||||
|
||||
|
||||
async def async_get_trigger_capabilities(hass, trigger):
|
||||
async def async_get_trigger_capabilities(hass, config):
|
||||
"""List trigger capabilities."""
|
||||
return {
|
||||
"extra_fields": vol.Schema(
|
||||
|
||||
Reference in new issue
Block a user