Zome.home persons value not recognized in automation

Hey there,

I am new to home assistant and I have this weird error. Maybe someone had it solved before. :slight_smile:

So in my automation, if im testing my condition it says “condition not met”. The condition should be zone.home persons > 0. The point where it gets confusing is that if im looking it up in the entity view it says the persons value is 2.

Does someone know or have a clue whats going on?

condition: numeric_state
entity_id: zone.home
attribute: persons
above: 0

Okay, guys I dont want you guys to blame me. I found out. It should be zone.home > 0. The persons attribute is a list of persons and not a numeric value.

Im leaving this here so if you encounter something like this, you can find out. :slight_smile:

1 Like