MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-homeassistant-sensors: hide entry depending on state

    Troubleshooting
    1
    1
    70
    Loading More Posts
    • 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.
    • W
      wmx last edited by

      Hi @all,

      the configuration of our MM grows and I successfully connected the mirror to our homeassistant. Now I want to show “who’s @home”. I setup the sensors for each of us. The entry for the persons show with the picture from HA up always. Only the status(text)changes depending from “home” to “not home”. So one has to read every entry each time and that’s not satisfying.
      Is there a configuration possible to only show the entry (the sensor) if one is home and to hide the entry (the sensor) if one is not home?

      The current sensors are configured like this:

      sensor: "sensor.dirk_kombi",
      name: "Dirk ist %v%",
      displayvalue: false,
      replace: [{
      		"home": "da",
      		"not_home": "weg!",
      	}
      

      Any help welcome.
      Regards

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy