const mySensor = hass.entity.byId("sensor.location");
const history = await mySensor.history(...);
// do logic
Additional details
History lookup apis are already available, this would provide a more convenient path for performing that call that's attached to the entity in the same way the call proxy is
Context
Additional details
History lookup apis are already available, this would provide a more convenient path for performing that call that's attached to the entity in the same way the call proxy is