Shelly 2.5

Hi,

I installed my 2.5 as rollershutter, and control it witch MQTT.

Now is my question of I can use open and close state can use as a sensor.

For using in other purposes.

Thanks!

Not sure I understand what you need. Isn’t it already a sensor?

But have a look at this

I want to make automations with trigger if the cover is open.

But I can’t find the state of the cover as sensor.

When you go to states page and click your cover entity does it list the state as an attribute (in the “State attributes (YAML, optional)”)?

I dont use cover myself so don’t know.

States page if unfamiliar:
ip:8123/developer-tools/state

Then use the template sensor to create a new sensor based on cover attribute. You can use the attribute staight in the automation also I believe. But creating a specific sensor first keeps it easy to understand.

Yes, it does…

I’will try wit the template sensor