snarky-snark / home-assistant-variables

A custom Home Assistant component for declaring and setting generic variable entities dynamically.
Apache License 2.0
274 stars 16 forks source link

Variable type changes and reboot #97

Closed dominig closed 9 months ago

dominig commented 1 year ago

I am trying to use your variable integration and during my test and error in developing the correct template :-( I had to change the type of some of my variable from dictionary to a simple list. To my surprise changing the variable type and init value in the config.yaml does not affect the existing variable. It remains unchanged. How can I clean my old variables definition and restart on a clean sheet with a new version of my config.yaml ?

snarky-snark commented 9 months ago

You can clear your variable in the developer settings or set the restore attribute to false.