enkama / hass-variables

Home Assistant variables component
91 stars 11 forks source link

Variable integration not found #15

Closed weemaba999 closed 2 years ago

weemaba999 commented 2 years ago

Hi,

After installing and putting following code in my configuration.yaml:

variable: last_motion: value: 'Unknown' restore: true attributes: icon: mdi:map-marker name: "Last Motion" I get error that Integration error: variable - Integration ‘variable’ not found.

Can’t get it to work… anyone have a clue ?

Kr,

Bart

weemaba999 commented 2 years ago

Solved by reinstalling hass-variables :-)

nvOC-Stubo commented 1 year ago

I had the same issue in an all yaml config. Apparently it needs to be installed twice. Once before the variables are declared in yaml and once after the variables are declared in yaml. 1) Install from HACS and restart core 2) Define variables in yaml. Restarting core made no difference 3) Redownload in HACS and restart core 4) success