@ortin thanks for the insights.
I would like the device config to be as generic as possible.
I will introduce a generic aux of that will be used if an adapter has specific needs.
For the shutter it will be the position shell command. The position value (0-100) will be added by the plugin with a space at the end of the aux field.
The getPositionCommand of the ShellShutter gives only ‘moving type’ status: ‘up’, ‘down’ or ‘stopped’ and not a % position! The position value will be hold in the plugin-adapter. GA will get that info when GA askes for status. In Pimatic this value is not visible. You can see of course the shutters position when you look …
On startup the position sync is still an issue. But when the shutters are fully opened or closed, its easy to sync the position (if there’s an auto stop safety).
If your script returns the real position, that could also be used as the position value