Allow non-admin users to call history/list_statistic_ids (#54698)
parent
979165669c
commit
99a62799ae
|
@ -167,7 +167,6 @@ async def ws_get_statistics_during_period(
|
|||
vol.Optional("statistic_type"): vol.Any("sum", "mean"),
|
||||
}
|
||||
)
|
||||
@websocket_api.require_admin
|
||||
@websocket_api.async_response
|
||||
async def ws_get_list_statistic_ids(
|
||||
hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict
|
||||
|
|
Loading…
Reference in New Issue