Automation for human presence sensor

Hi,

I want a simple automation for the Tuya ZG-204ZM human presence sensor.
The sensor is integrated with z2mqtt → all integrations are working.

Can I use the “sensor.anwesenheitssensor_motion_state” entity?

If yes, how?
If I choose the regular entity in automations I have not the choice of small / large…

Use a state trigger.

Use the dev tools’ state tab to see the actual state values and enter that manually. The actual state is different from what’s displayed (which can also be translated, like in your case).