Hi everybody,
I usually add input_datetime
, input_number
, etc. entities via yaml
, not via the webUI. Is there a way to only load those newly added ones without resetting existing ones?
For example: input_number.something
already exists. It does not have an initial
value, and is curerntly set to 20
. I then add input_number.something_else
through yaml file and reload all input_numbers. Result: input_number.something_else
gets added to Home Assistant (as expected), but unfortunately, input_number.something
also gets reset.
I could add an initial
value, but that would still mean that, if the current value (before updating input_numbers) will be reset to that initial value.
My “workaround” is to restart Home Assistant whenever I add something, but that is not that great. Let’s say the dishwasher is running while I restart Home Assistant. In this case, I will not receive a notification when the dishwasher is done, because the automation triggering the automation to observe the dishwasher energy consumption might have already been started before and gets turned off by restarting Home Assistant.
I know, I could also add new helpers through the webUI, but I got so used to yaml (and constantly backing my Home Assistant config files) that I’d prefer to keep it this way.
Thank you for your ideas