How to put device name with percentage


#1

1) Give a description of the problem
I am trying to have the push notification say: this devices is at x %.
2) What is the expected behavior?
Sensor 1 is 25%, sensor 2 is 24% etc.

3) What is happening/not happening?
The push notification is separating the device name and percentage

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)


#2

I’m guessing it’s a dimmer, if it is, you can use in a Value field {[DeviceName:level]} or in an Expression field [DeviceName:level]


#3

sensors


#4

What kind of sensor? If you know the attribute you want then just substitute it to the :level part


#5

Or [devicename : battery] if you’re after that?


#6

I just want it to say sensor 1: 76%, sensor 2: 98% etc


#7


#8

I think you’d need to write a loop for that; the variable devicelist wouldn’t return a value for each individual item.


#9

Seems odd that {deviceList + battery} or {deviceList : battery} wouldnt do that. How would the loop work?


#10

I’ll throw together an example later on.


#11

I forgot to post this yesterday, I based it off your original piston…