mirror of
https://github.com/home-assistant/core.git
synced 2025-06-03 04:37:15 +00:00
Require admin for new node status WS API command (#51863)
This commit is contained in:
parent
59a3e0f4dc
commit
3db8d9ede5
@ -255,6 +255,7 @@ async def websocket_node_status(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@websocket_api.require_admin
|
||||||
@websocket_api.websocket_command(
|
@websocket_api.websocket_command(
|
||||||
{
|
{
|
||||||
vol.Required(TYPE): "zwave_js/node_state",
|
vol.Required(TYPE): "zwave_js/node_state",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user