mirror of
https://github.com/elisspace/core.git
synced 2026-09-02 01:06:07 +00:00
* Optimize _get_states_with_session * Move custom filters to derived table * Remove useless derived table * Filter old states after grouping * Split query * Add comments * Simplify state update period criteria * Only apply custom filters if we didn't get an include list of entities Co-authored-by: J. Nick Koston <nick@koston.org>