I have to imagine that this is possible and apologies if this has been answered a million times, but how would I go about comparing the values of 2 different custom attributes in rule machine? When I create my IF/THEN statement, I only see that I can compare an attribute to a value that I enter.
In my example I want to compare the inside temperature to the outside temperature.
I have the latest Hubitat and downloaded the main app, not the legacy app. I am having a hard time finding where to see which version it is. I’m almost certain I have the new v5. Am I in the right spot to where I would see this feature in the actions area?
Ah that doesn’t show up on mobile view. Confirmed that I am using v5.0.
I just tried it again, this time targeting a temperature device and not the temperature from a custom attribute. That now shows what you mentioned. So I guess I can compare two custom attributes this way.
Interesting! Maybe this is not possible because the variable types may differ…
An option in that case would be to create one or two variables and store one or both of the values in those variables, and then compare one of the device to the variable or both variables.
Another option. You can set the values of custom attributes into a variable. Then compare the variables. The method above would be easier, but you could also look at string attributes with this method.