Generic Zigbee Outlet driver missing Power attribute when setting a string

Outlet is a Sengled E1C-NB7.
I want to log the power level into a file. The problem comes when trying to assign the power value to a string variable. The device label is "Fireplace fan (plg)".
The driver values:

Here is the Rule Machine demonstrating the problem.


Power is not available as an attribute.

I am able to use the power value for a trigger. Here is an example:

I have added the Power level trigger for demonstration.
What I'm looking for is the Power level into Set variable.

Never mind - I just saw the rest of your screen shots.

The way to do this is to declare a variable of type decimal (number might work) and select sensor value.

You’ll be able to interpolate (%yourvariable%) that variable in the string you push out to a file

1 Like

Thanks, it is quite simple once you know.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.