Oh 5.0.0 and how with persistence to detect duty cycle of an Switch-item

(topic deleted by author)