• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-homeassistant-sensors- attributes ?

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 471 Views 1 Watching
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.
  • E Offline
    emailuser
    last edited by Apr 16, 2020, 11:33 AM

    Hi , advice appreciated for a newbie , i have MM running on Pi 3B , i also have home assistant running on a different PI, i have added the above module and am able to display a sensor entity for bedroom temp, but it only shows the entity state as heat, i would like to show the actual temp, i beleive i might need to add an attribute in the config.js , but i have tried many combinations but all fail, here is example below of config.js
    prettyName: false,
    stripName: false,
    debuglogging: false,
    displayvalue: true,
    values: [{
    sensor: “climate.josh_bed”,
    attributes: [
    {“current_temperature”
    {]

    below is the states in HA … am i able to add these to MM ?
    1f924dad-8cef-4a3d-ba57-01ae0fde6768-image.png

    E 1 Reply Last reply Jun 12, 2023, 3:21 PM Reply Quote 0
    • E Offline
      edd189 @emailuser
      last edited by Jun 12, 2023, 3:21 PM

      @emailuser It looks like the very last line of your code has { instead of }

      See if that resolves it?

      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 Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy