mirror of
https://github.com/elisspace/core.git
synced 2026-09-30 14:29:54 +00:00
Add patch method to rest switch component (#45663)
This commit is contained in:
@@ -40,7 +40,7 @@ DEFAULT_NAME = "REST Switch"
|
||||
DEFAULT_TIMEOUT = 10
|
||||
DEFAULT_VERIFY_SSL = True
|
||||
|
||||
SUPPORT_REST_METHODS = ["post", "put"]
|
||||
SUPPORT_REST_METHODS = ["post", "put", "patch"]
|
||||
|
||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user