forked from home-assistant/core
Require admin for new node status WS API command (#51863)
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user