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
1 out of 3
Suggested Topics
-
Forum Theme Problems
Announcements • 8 Apr 2014, 07:05 • hek 8 Apr 2014, 07:05 -
Gateway on my PI when i run HA
Home Assistant • 31 Aug 2024, 21:51 • diltech 5 Oct 2024, 10:31 -
Where to change settings?
Home Assistant • 15 Mar 2023, 14:58 • eiten 25 Jul 2024, 19:19 -
Hi,
Home Assistant • 1 Sept 2024, 20:57 • diltech 1 Sept 2024, 20:57 -
2x BME 280 on 2x arduino nano hangs in HomeAssistant
Home Assistant • 27 Jul 2024, 12:25 • HJ_SK 11 Aug 2024, 19:56