Allow non-admin users to call history/list_statistic_ids (#54698)

pull/54705/head
Joakim Sørensen 2021-08-16 16:07:11 +02:00 committed by GitHub
parent 979165669c
commit 99a62799ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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