(()=>{function e(a,c){return{relay:function(e,t,r){return e={deviceId:e,c8y_Relay:{id:t,relayState:r?"CLOSED":"OPEN"},description:c(r?"Close relay.":"Open relay.")},a.create(e)}}}e.$inject=["c8yDeviceControl","gettext"],angular.module("c8y.relayWidget").factory("relayWidgetSvc",e)})();