Change variable value into Home Assistant
-
Hi,
Somebody know how can change value in the persistence file via a card on Home Assistant for specific sensor node/id ?
"5": { "id": 5, "type": 3, "description": "", "values": { "24": "1", // Need change this value "25": "5", // Need change this value "2": "0"``` -
Bien,
J'ai trouvé la manière d'aller chercher ces variables depuis Home Assistant. Je pense qu'il ne faut pas le faire par le fichier même mais par les attributs de l'entité. Reste pour moi de trouver un moyen de modifié ces variables.
{{ state_attr('switch.relaisboard_2_2', 'V_VAR1') }} // result 1 {{ state_attr('switch.relaisboard_2_2', 'V_VAR2') }} // result 5Je continue mes investigations.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login