mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Allow non-admin users to call history/list_statistic_ids (#54698)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user