Thank you very much for Home Assistant, it’s awesome!
I created a helper input_number.wasserzahler_stand_waschmaschine
to manually track the water usage of our washing machine. Apparently though, helper data is not stored permanently. I enabled the recorder
, but it didn’t change anything.
How can I permanently store helper states?
Helper data only goes back for a week:
also in the database:
❯ sudo sqlite3 -header -column /var/lib/hass/home-assistant_v2.db 'select * from states where entity_id = "input_number.wasserzahler_stand_waschmaschine";'
state_id entity_id state attributes event_id last_changed last_updated old_state_id attributes_id context_id context_user_id context_parent_id origin_idx
-------- --------------------------------------------- ------ ---------- -------- ------------ -------------------------- ------------ ------------- -------------------------- -------------------------------- ----------------- ----------
26085133 input_number.wasserzahler_stand_waschmaschine 19.858 2022-11-23 07:30:27.550740 33036 01GJHPAB2WZ5QMNJ1PJDY0FPR6 316c416014814e23bc7127e4db1f04a9 0
26446403 input_number.wasserzahler_stand_waschmaschine 19.908 2022-11-24 07:41:55.572611 26085133 33036 01GJM9C1ZHPWCDVRFQAQNXFWEP 316c416014814e23bc7127e4db1f04a9 0
27559721 input_number.wasserzahler_stand_waschmaschine 20.111 2022-11-27 08:14:12.029031 26446403 33036 01GJW2DA1TQ71E2E2MEMV2Y6RH 316c416014814e23bc7127e4db1f04a9 0
28712667 input_number.wasserzahler_stand_waschmaschine 20.286 2022-11-30 08:57:58.916879 27559721 33036 01GK3W3MC2TAK6EX959QFPW9JV 316c416014814e23bc7127e4db1f04a9 0
Further info
# Home-assistant core, installed via AUR, running on Raspberry Pi 4 with Manjaro ARM
❯ hass --version
2022.10.4
recorder
integration is enabled:
❯ sudo head -n5 /var/lib/hass/configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
recorder:
Thanks for any ideas!