Add periods to statistics_during_period ws (#59425)
This commit is contained in:
parent
3d909b00d5
commit
6e7712da3c
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class LazyState(history_models.LazyState):
|
|||
vol.Required("start_time"): str,
|
||||
vol.Optional("end_time"): str,
|
||||
vol.Optional("statistic_ids"): [str],
|
||||
vol.Required("period"): vol.Any("hour", "5minute"),
|
||||
vol.Required("period"): vol.Any("5minute", "hour", "day", "month"),
|
||||
}
|
||||
)
|
||||
@websocket_api.async_response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue