Add patch method to rest switch component (#45663)
This commit is contained in:
parent
c1586f97db
commit
bc3610c8e1
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue