recorder
https://www.home-assistant.io/integrations/recorder/