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 5
Je continue mes investigations.
-
@diltech
glad to hear you found a way.Just a little note.. this is not a french forum
3 out of 3
Suggested Topics
-
Forum Theme Problems
Announcements • 8 Apr 2014, 07:05 • hek 8 Apr 2014, 07:05 -
Hi,
Home Assistant • 1 Sept 2024, 20:57 • diltech 1 Sept 2024, 20:57 -
Node 2 is unknown warning in Homeassistant.
Home Assistant • 10 Mar 2019, 19:27 • badisensors 15 Oct 2024, 20:33 -
mysensors regularly disconnect from HA
Home Assistant • 1 Oct 2021, 20:25 • keithellis 29 Aug 2023, 18:09 -
Home Assistant update changed USB port name
Home Assistant • 14 Jan 2024, 17:25 • therik 15 Jan 2024, 10:26 -
How I delete a node from HA and start over.
Home Assistant • 18 Oct 2024, 02:05 • OldSurferDude 18 Oct 2024, 02:05