Update DomoticzController.php

Special Thanks to CyrilGT !