Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I delete an attribute? #42

Open
JeeCee1 opened this issue Aug 26, 2020 · 1 comment
Open

How can I delete an attribute? #42

JeeCee1 opened this issue Aug 26, 2020 · 1 comment

Comments

@JeeCee1
Copy link

JeeCee1 commented Aug 26, 2020

Sorry if I've read over it, but I can't find a way to delete an added attribute.

Thanks for your efforts and help!

@makp0
Copy link

makp0 commented Aug 31, 2020

Hello.
It happens to my setup too.
Furthermore, if I delete variable and then re-add it, Hassio seems to add the old configuration of it.
For example, if initial variable is of type boolean than re-adding it as integer seems to have no effect as it still holds boolean as well as an attribute which doesn't exist in the configuration anymore.

Current config:

variable:
  dustbin_full:
    value: 0
    restore: true

Previous config:

variable:
  dustbin_full:
    value: False
    attributes:
      previous: 0
    restore: true

Variable states export from DB:
states-export.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants