Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. Change variable value into Home Assistant

Change variable value into Home Assistant

Scheduled Pinned Locked Moved Home Assistant
3 Posts 2 Posters 163 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    diltech
    wrote on last edited by
    #1

    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"```
    1 Reply Last reply
    0
    • D Offline
      D Offline
      diltech
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by
        #3

        @diltech
        glad to hear you found a way.

        Just a little note.. this is not a french forum ;)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        10

        Online

        11.7k

        Users

        11.2k

        Topics

        113.0k

        Posts


        Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular