i’m using
my question is everytime home assistant restarts, the value of the variable goes back to 'Unknown" This is my variable config:
Maindoor_lastupdate:
attributes:
name: ‘MainDoorLastUpdate’
icon: mdi:door-closed
restore: true
i’m using
Maindoor_lastupdate:
attributes:
name: ‘MainDoorLastUpdate’
icon: mdi:door-closed
restore: true
Depending on what version you are using, that component might not be compatible anymore.
I’m using HA v0.104.x any other variable component options?
I think he meant that maybe the custom integration isn’t compatible with HA anymore.
To answer your question, HA has several built-in “variables”: input_text
, input_number
, input_boolean
, input_select
and input_datetime
. And they all save/restore across restarts.