Ad Widget

Collapse

Add label to Network map item key with ()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joseperes
    Junior Member
    • Mar 2019
    • 20

    #1

    Add label to Network map item key with ()

    I need to add a label on a network map but the item key has a () and it seems that doesn't recognize, I can't change the item key since it comes from a discovery.

    My item key is: tempSensorValueInt[Temperature (5)]

    I am trying to add the label on the map like that: {AFHND-S201:tempSensorValueInt[Temperature (5)].last(0)}

    But it comes the value *UNKNOWN*
  • joseperes
    Junior Member
    • Mar 2019
    • 20

    #2
    My item is collecting data normal, I attached some printscreen.
    The problem happens, when I want to show the item value in the map and the item key has parentheses.

    e.g.: {AFHND-S201:tempSensorValueInt[Temperature 5].last(0)} -> Works fine on the map
    e.g.: {AFHND-S201:tempSensorValueInt[Temperature (5)].last(0)} -> Doesn't work on the map

    I get these items from a discovery so it comes with the parentheses.
    Attached Files

    Comment

    Working...