Scene duplication bug

Actually it had nothing to do with duplication, it’s just that if you replace one presence sensor with another, the value wasn’t preserved!

It’s fixed in this PR:

It will be included in the next version of Gladys!