Add device dynamically to domoticz / Code cleanup
go fmt