appdaemon
appdaemon copied to clipboard
get_history failing due to API error
What happened?
self.get_history(days=1) results in the following error: WARNING HASS: Code: 400, error: {"message":"filter_entity_id is missing"}
According to https://developers.home-assistant.io/docs/api/rest/#get-apihistoryperiodlttimestamp it would seem that filter_entity_id is now a required field.
Version
4.4.2
Installation type
Python virtual environment
Relevant log output
2023-05-20 19:39:13.628054 WARNING HASS: Error calling Home Assistant to get_history
2023-05-20 19:39:13.628378 WARNING HASS: Code: 400, error: {"message":"filter_entity_id is missing"}
Relevant code in the app or config file that caused the issue
self.get_history(days=1)
Anything else?
No response
@geckom,
Yes it’s now required, will try and get that fixed.