#Automation [Object object]

1 messages · Page 1 of 1 (latest)

sly sentinel
#

Hi all,

I'm attempting to do an automation if the AC is running but the outside temperature is cooler than the inside temperature. This is giving me [Object object] when I set the YAML (as the entity isn't listed otherwise). How can I fix this?

lilac mirage
#

You have attribute twice and an extra entity_id block

sly sentinel
#

Yes. I'm trying to compare two entities

lilac mirage
#

See the example for that

#

It doesn't look like yours

#

You can't choose an attribute for the second entity if that's what you're trying to do

sly sentinel
#

That's what I'm trying to do, yes

lilac mirage
#

You would need to use a template sensor

sly sentinel
#

Like this?

lilac mirage
#

You just need to extract the attribute and then use the sensor in the condition