Hello,
I wrote a yaml script for my esp device to manage 3 electrovalves for the irrigation of the garden. Actually i use this script with switch and gpio and a timer to push a 9v DC signal to the bistable solenoid on the valve.
I think that this script works in a similar way a time based cover do, so what about implementing a device class for the cover mechanism that actually can be used for this purpouse?
I’m not really sure what you are asking for. Device classes only change the appearance of an entity in the frontend.
Yes, this was one request.
But also custom actions and controls for sprinklers so It would be more easy to configure them.
(We have 3 type of solenoid and usually a water metering sensor could be necessary to get the state of bistable solenoid after a reboot during the irrigation).