Functions | |
| bool | entities_may_have_state_changes_after (HomeAssistant hass, Iterable entity_ids, dt start_time, bool no_attributes) |
| bool | has_states_before (HomeAssistant hass, dt run_time) |
Helpers for the history integration.
| bool homeassistant.components.history.helpers.entities_may_have_state_changes_after | ( | HomeAssistant | hass, |
| Iterable | entity_ids, | ||
| dt | start_time, | ||
| bool | no_attributes | ||
| ) |
Check the state machine to see if entities have changed since start time.
Definition at line 12 of file helpers.py.
| bool homeassistant.components.history.helpers.has_states_before | ( | HomeAssistant | hass, |
| dt | run_time | ||
| ) |
Check if the recorder has states as old or older than run_time. Returns True if there may be such states.
Definition at line 28 of file helpers.py.