\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=70080e98&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=70080e98&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70080e98\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=51aa9db3&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=51aa9db3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-51aa9db3\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=70080e98&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=70080e98&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70080e98\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=51aa9db3&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=51aa9db3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-51aa9db3\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n \n \n\n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d543b3e4\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3344f2bf\"]])\n\nexport default __exports__","\n \n\n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=1405d90f&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=1405d90f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1405d90f\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=48d9692c&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=48d9692c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-48d9692c\"]])\n\nexport default __exports__","\n
\n
\n \n \n \n
\n\n
\n \n \n \n
\n\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=7babaacc&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=7babaacc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7babaacc\"]])\n\nexport default __exports__","var map = {\n\t\"./Battery\": [\n\t\t9651,\n\t\t9,\n\t\t218,\n\t\t9651\n\t],\n\t\"./Battery.vue\": [\n\t\t9651,\n\t\t9,\n\t\t218,\n\t\t9651\n\t],\n\t\"./BinarySensor\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BinarySensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./Button\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./Button.vue\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./CurrentSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./CurrentSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Device\": [\n\t\t4435,\n\t\t9,\n\t\t218,\n\t\t4435\n\t],\n\t\"./Device.vue\": [\n\t\t4435,\n\t\t9,\n\t\t218,\n\t\t4435\n\t],\n\t\"./Dimmer\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./Dimmer.vue\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./EnergySensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./EnergySensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Entity\": [\n\t\t3053,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t3053,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3459,\n\t\t9,\n\t\t218,\n\t\t3459\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3459,\n\t\t9,\n\t\t218,\n\t\t3459\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EnumSensor\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./EnumSensor.vue\": [\n\t\t8625,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t8625\n\t],\n\t\"./EnumSwitch\": [\n\t\t3398,\n\t\t9,\n\t\t218,\n\t\t3398\n\t],\n\t\"./EnumSwitch.vue\": [\n\t\t3398,\n\t\t9,\n\t\t218,\n\t\t3398\n\t],\n\t\"./HumiditySensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./HumiditySensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./IlluminanceSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./IlluminanceSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Index\": [\n\t\t9688,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t9688,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t2315,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./Light.vue\": [\n\t\t2315,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./LinkQuality\": [\n\t\t8126,\n\t\t9,\n\t\t218,\n\t\t8126\n\t],\n\t\"./LinkQuality.vue\": [\n\t\t8126,\n\t\t9,\n\t\t218,\n\t\t8126\n\t],\n\t\"./Modal\": [\n\t\t8472,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t8472,\n\t\t9\n\t],\n\t\"./MotionSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./MotionSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./MultiValueSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./MultiValueSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Muted\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Muted.vue\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./NumericSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./NumericSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./PowerSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./PowerSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./RawSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./RawSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Selector\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Sensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Sensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Switch\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Switch.vue\": [\n\t\t3303,\n\t\t9,\n\t\t218,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./TemperatureSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./TemperatureSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./VoltageSensor\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./VoltageSensor.vue\": [\n\t\t1399,\n\t\t9,\n\t\t218,\n\t\t5006,\n\t\t1399\n\t],\n\t\"./Volume\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./Volume.vue\": [\n\t\t3593,\n\t\t9,\n\t\t7246,\n\t\t218,\n\t\t3593\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","endsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","un$StartsWith","startsWith","stringSlice","index","class","hasChildren","isCollapsed","value","name","justUpdated","component","loading","ref","error","reachable","onClick","$emit","$event","toggleCollapsed","computedChildren","entity","key","id","level","mixins","EntityMixin","emits","data","computed","Object","values","children","filter","child","collapsed","instance","$refs","methods","valuesEqual","a","b","objectsEqual","event","classList","contains","stopPropagation","onEntityUpdate","entityId","isChildUpdate","setJustUpdated","self","setTimeout","mounted","type","split","map","t","toUpperCase","join","$watch","newValue","oldValue","bus","__exports__","render","Utils","props","Boolean","default","required","Number","modalVisible","entityType","s","charAt","entityGroups","selector","title","refresh","modalEntityId","entities","visible","configValuesByParentId","onEntityModal","keys","displayGroups","group","grouping","entitiesMeta","typesByCategory","icon","pluginIcons","url","imgUrl","parent_id","childrenByParentId","onEntityInput","errorEntities","loadingEntities","components","Loading","Icon","Entity","Selector","NoItems","EntityModal","entityScanTimeout","entityTimeouts","selectedEntities","meta","icons","entityTypes","groupEntities","entries","reduce","obj","name_plural","entry","e","sort","localeCompare","attr","_shouldSkipLoading","hasReadableChildren","is_configuration","is_write_only","is_query_disabled","args","plugins","plugin","clearTimeout","console","warn","request","sync","name_override","category","parentId","clearEntityTimeouts","state","onEntityDelete","subscribe","unmounted","unsubscribe","href","external_id","onDelete","editName","onRename","disabled","editIcon","onIconEdit","color","onIconColorEdit","description","external_url","text","image_url","src","created_at","updated_at","deleteConfirmDiag","show","computedConfig","configCollapsed","onConfirm","confirmText","close","cancelText","Modal","modal","hide","proxy","submit","deafult","EditButton","NameEditor","ConfirmDialog","configValues","newName","req","newIcon","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","indexOf","prettify","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/3053.7b8c6ed5.js b/platypush/backend/http/webapp/dist/static/js/3053.c03dd152.js
similarity index 98%
rename from platypush/backend/http/webapp/dist/static/js/3053.7b8c6ed5.js
rename to platypush/backend/http/webapp/dist/static/js/3053.c03dd152.js
index 9a62d09ce..c5029d7b1 100644
--- a/platypush/backend/http/webapp/dist/static/js/3053.7b8c6ed5.js
+++ b/platypush/backend/http/webapp/dist/static/js/3053.c03dd152.js
@@ -1,2 +1,2 @@
-(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3053],{3053:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var i=n(6252),s=n(3577),l=n(9963);const a={key:0,class:"children fade-in"};function o(e,t,n,o,r,u){const c=(0,i.up)("Entity",!0);return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-container-wrapper",{"with-children":u.hasChildren,collapsed:u.isCollapsed,hidden:!e.value?.name?.length}])},[(0,i._)("div",{class:(0,s.C_)(["row item entity-container",{"with-children":u.hasChildren,collapsed:u.isCollapsed,blink:r.justUpdated}])},[(0,i._)("div",{class:(0,s.C_)(["adjuster",{"col-12":!u.hasChildren,"col-11":u.hasChildren}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{value:e.value,loading:e.loading,ref:"instance",error:e.error||0==e.value?.reachable,onClick:u.onClick,onInput:t[0]||(t[0]=t=>e.$emit("input",t)),onLoading:t[1]||(t[1]=t=>e.$emit("loading",t))},null,8,["value","loading","error","onClick"]))],2),u.hasChildren?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"col-1 collapse-toggler",onClick:t[2]||(t[2]=(0,l.iM)(((...e)=>u.toggleCollapsed&&u.toggleCollapsed(...e)),["stop"]))},[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":u.isCollapsed,"fa-chevron-up":!u.isCollapsed}])},null,2)])):(0,i.kq)("",!0)],2),u.isCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(u.computedChildren,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"child",key:t.id},[(0,i.Wm)(c,{value:t,loading:e.loading,level:e.level+1,onInput:n=>e.$emit("input",t)},null,8,["value","loading","level","onInput"])])))),128))]))],2)}var r=n(2262),u=n(7909),c=n(5250),d={name:"Entity",mixins:[u["default"]],emits:["input","loading","update"],data(){return{component:null,justUpdated:!1}},computed:{computedChildren(){return Object.values(this.children||{}).filter((e=>e))},hasChildren(){return!!this.computedChildren.length},isCollapsed(){return!this.hasChildren||this.collapsed},instance(){return this.$refs.instance}},methods:{valuesEqual(e,t){e={...e},t={...t};for(const n of["updated_at","data"])delete e[n],delete t[n];return this.objectsEqual(e,t)},onClick(e){(e.target.classList.contains("label")||e.target.classList.contains("head"))&&(e.stopPropagation(),this.toggleCollapsed())},onEntityUpdate(e){const t=e?.id,n=null!=t&&this.children&&t in this.children;n&&this.setJustUpdated()},toggleCollapsed(){this.collapsed=!this.collapsed,this.instance&&(this.instance.collapsed=!this.instance.collapsed)},setJustUpdated(){this.justUpdated=!0;const e=this;setTimeout((()=>e.justUpdated=!1),1e3)}},mounted(){if("Entity"!==this.type){const e=this.type.split("_").map((e=>e[0].toUpperCase()+e.slice(1))).join("");this.$watch((()=>this.value),((e,t)=>{if(this.valuesEqual(t,e))return!1;this.setJustUpdated(),this.$emit("update",{value:e})})),this.component=(0,r.XI)((0,i.RC)((()=>n(7243)(`./${e}`))))}c.$.onEntity(this.onEntityUpdate)}},p=n(3744);const m=(0,p.Z)(d,[["render",o],["__scopeId","data-v-70080e98"]]);var h=m},7909:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var i=n(6813),s={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0},children:{type:Object,default:()=>{}},level:{type:Number,default:0}},data(){return{modalVisible:!1,collapsed:!0}},computed:{type(){let e=this.value.type||"";return e.split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}}};const l=s;var a=l},9688:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=n(6252),s=n(3577);const l=e=>((0,i.dD)("data-v-51aa9db3"),e=e(),(0,i.Cn)(),e),a={class:"row plugin entities-container"},o={class:"col-11 left"},r={class:"col-1 right"},u=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),c=[u],d={class:"groups-canvas"},p=(0,i.Uk)("No entities found"),m={key:2,class:"groups-container"},h={class:"frame"},y={class:"header"},g={class:"section left"},f={class:"section center"},v=["textContent"],_={class:"section right"},w=["onClick"],b=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),C=[b],k={class:"body"},E=["onClick"];function S(e,t,n,l,u,b){const S=(0,i.up)("Loading"),I=(0,i.up)("Selector"),x=(0,i.up)("EntityModal"),D=(0,i.up)("NoItems"),j=(0,i.up)("Icon"),G=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",a,[u.loading?((0,i.wg)(),(0,i.j4)(S,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",o,[(0,i.Wm)(I,{"entity-groups":b.entityGroups,value:u.selector,onInput:t[0]||(t[0]=e=>u.selector=e)},null,8,["entity-groups","value"])]),(0,i._)("div",r,[(0,i._)("button",{title:"Refresh",onClick:t[1]||(t[1]=(...e)=>b.refresh&&b.refresh(...e))},c)])]),(0,i._)("div",d,[u.modalEntityId&&u.entities[u.modalEntityId]?((0,i.wg)(),(0,i.j4)(x,{key:0,entity:u.entities[u.modalEntityId],visible:u.modalVisible,"config-values":b.configValuesByParentId(u.modalEntityId),onClose:b.onEntityModal},null,8,["entity","visible","config-values","onClose"])):(0,i.kq)("",!0),Object.keys(b.displayGroups||{})?.length?((0,i.wg)(),(0,i.iD)("div",m,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(b.displayGroups,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:e.name},[(0,i._)("div",h,[(0,i._)("div",y,[(0,i._)("span",g,["category"===u.selector.grouping&&b.entitiesMeta[b.typesByCategory[e.name]]?((0,i.wg)(),(0,i.j4)(j,(0,s.vs)((0,i.dG)({key:0},b.entitiesMeta[b.typesByCategory[e.name]].icon||{})),null,16)):"plugin"===u.selector.grouping&&b.pluginIcons[e.name]?((0,i.wg)(),(0,i.j4)(j,{key:1,class:(0,s.C_)(b.pluginIcons[e.name]?.class),url:b.pluginIcons[e.name]?.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",f,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.name)},null,8,v)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:t=>b.refresh(e)},C,8,w)])]),(0,i._)("div",k,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.entities,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",onClick:t=>b.onEntityModal(e.id),key:e.id},[e.parent_id?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(G,{key:0,value:e,children:b.childrenByParentId(e.id),onInput:t=>b.onEntityInput(e),error:!!u.errorEntities[e.id],loading:!!u.loadingEntities[e.id],onLoading:t=>u.loadingEntities[e.id]=t},null,8,["value","children","onInput","error","loading","onLoading"]))],8,E)))),128))])])])))),128))])):((0,i.wg)(),(0,i.j4)(D,{key:1},{default:(0,i.w5)((()=>[p])),_:1}))])])}var I=n(6813),x=n(1232),D=n(1478);const j={class:"no-items-container"},G={class:"no-items fade-in"};function T(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("div",j,[(0,i._)("div",G,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])}var q={name:"NoItems"},O=n(3744);const U=(0,O.Z)(q,[["render",T],["__scopeId","data-v-6fec32b5"]]);var M=U,$=n(3053),L=n(6518),B=n(8472),N=n(5250),Z=n(1359),V=n(7369),z={name:"Entities",components:{Loading:x.Z,Icon:D.Z,Entity:$["default"],Selector:L["default"],NoItems:M,EntityModal:B["default"]},mixins:[I.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"category",selectedEntities:{}}}},computed:{entitiesMeta(){return V},pluginIcons(){return Z},entityTypes(){return this.groupEntities("type")},typesByCategory(){return Object.entries(V).reduce(((e,[t,n])=>(e[n.name_plural]=t,e)),{})},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((e,[t,n])=>(e[t]=n[0],e)),{}),category:this.groupEntities("category"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((e=>e[1].filter((e=>!!this.selector.selectedEntities[e.id]&&null==e.parent_id)).length>0)).map((([e,t])=>({name:e,entities:t.filter((e=>e.id in this.selector.selectedEntities))}))).sort(((e,t)=>e.name.localeCompare(t.name)))}},methods:{groupEntities(e){return Object.values(this.entities).filter((e=>null==e.parent_id)).reduce(((t,n)=>{const i=t[n[e]]||{};return i[n.id]=n,t[n[e]]=Object.values(i).sort(((e,t)=>e.name.localeCompare(t.name))),t}),{})},_shouldSkipLoading(e){const t=Object.values(this.childrenByParentId(e.id)),n=t.filter((e=>!e.is_configuration&&!e.is_write_only&&!e.is_query_disabled)).length>0;return e.is_query_disabled||e.is_write_only||t.length&&!n},async refresh(e){const t=(e?e.entities:this.entities)||{},n={};e&&(n.plugins=Object.keys(t.reduce(((e,t)=>(e[t.plugin]=!0,e)),{}))),this.loadingEntities=Object.values(t).reduce(((e,t)=>{if(this._shouldSkipLoading(t))return e;const n=this,i=t.id;return this.entityTimeouts[i]&&clearTimeout(this.entityTimeouts[i]),this.entityTimeouts[i]=setTimeout((()=>{n.loadingEntities[i]&&delete n.loadingEntities[i],n.entityTimeouts[i]&&delete n.entityTimeouts[i],n.errorEntities[i]=t,console.warn(`Scan timeout for ${t.name}`)}),1e3*this.entityScanTimeout),e[i]=!0,e}),{}),await this.request("entities.scan",n)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((e,t)=>(t.name=t?.meta?.name_override||t.name,t.category=V[t.type].name_plural,t.meta={...V[t.type]||{},...t.meta||{}},e[t.id]=t,e)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},childrenByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&!t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},configValuesByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},clearEntityTimeouts(e){this.errorEntities[e]&&delete this.errorEntities[e],this.loadingEntities[e]&&delete this.loadingEntities[e],this.entityTimeouts[e]&&(clearTimeout(this.entityTimeouts[e]),delete this.entityTimeouts[e])},onEntityInput(e){e.category=V[e.type].name_plural,this.entities[e.id]=e,this.clearEntityTimeouts(e.id),this.loadingEntities[e.id]&&delete this.loadingEntities[e.id]},onEntityUpdate(e){const t=e.entity.id;if(null==t)return;this.clearEntityTimeouts(t);const n={...e.entity};null==e.entity?.state&&(n.state=this.entities[t]?.state),n.meta?.name_override?.length?n.name=n.meta.name_override:this.entities[t]?.meta?.name_override?.length?n.name=this.entities[t].meta.name_override:n.name=e.entity?.name||this.entities[t]?.name,n.category=V[n.type].name_plural,n.meta={...V[e.entity.type]||{},...this.entities[t]?.meta||{},...e.entity?.meta||{}},this.entities[t]=n,N.$.publishEntity(n)},onEntityDelete(e){const t=e.entity?.id;null!=t&&(t===this.modalEntityId&&(this.modalEntityId=null),this.entities[t]&&delete this.entities[t])},onEntityModal(e){e?(this.modalEntityId=e,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()},unmounted(){this.unsubscribe("on-entity-update")}};const F=(0,O.Z)(z,[["render",S],["__scopeId","data-v-51aa9db3"]]);var P=F},8472:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Qe}});var i=n(6252),s=n(3577);const l=e=>((0,i.dD)("data-v-48d9692c"),e=e(),(0,i.Cn)(),e),a=(0,i.Uk)(" Are you "),o=l((()=>(0,i._)("b",null,"sure",-1))),r=(0,i.Uk)(" that you want to delete this entity? "),u=l((()=>(0,i._)("br",null,null,-1))),c=l((()=>(0,i._)("br",null,null,-1))),d=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),p=l((()=>(0,i._)("br",null,null,-1))),m=l((()=>(0,i._)("br",null,null,-1))),h=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),y={class:"table-row"},g={class:"title"},f=(0,i.Uk)(" Name "),v={class:"value"},_=["textContent"],w={class:"table-row"},b={class:"title"},C=(0,i.Uk)(" Icon "),k={class:"value icon-canvas"},E={key:0,class:"icon-editor"},S=l((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),I=[S],x=l((()=>(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1))),D={class:"table-row"},j=l((()=>(0,i._)("div",{class:"title"}," Icon color ",-1))),G={class:"value icon-color-picker"},T=["value"],q=l((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),O=[q],U={class:"table-row"},M=l((()=>(0,i._)("div",{class:"title"},"Plugin",-1))),$=["textContent"],L={class:"table-row"},B=l((()=>(0,i._)("div",{class:"title"},"Internal ID",-1))),N=["textContent"],Z={key:0,class:"table-row"},V=l((()=>(0,i._)("div",{class:"title"},"External ID",-1))),z=["textContent"],F={key:1,class:"table-row"},P=l((()=>(0,i._)("div",{class:"title"},"Description",-1))),R=["textContent"],W={key:2,class:"table-row"},H=l((()=>(0,i._)("div",{class:"title"},"External URL",-1))),K={class:"value url"},Y=["href","text"],A={key:3,class:"table-row"},J=l((()=>(0,i._)("div",{class:"title"},"Image",-1))),Q={class:"value"},X=["src"],ee={key:0,class:"table-row"},te=["textContent"],ne=["textContent"],ie={key:4,class:"table-row"},se=l((()=>(0,i._)("div",{class:"title"},"Created at",-1))),le=["textContent"],ae={key:5,class:"table-row"},oe=l((()=>(0,i._)("div",{class:"title"},"Updated at",-1))),re=["textContent"],ue={class:"table-row delete-entity-container"},ce=l((()=>(0,i._)("div",{class:"title"},"Delete Entity",-1))),de={class:"value"},pe=l((()=>(0,i._)("i",{class:"fas fa-trash"},null,-1))),me=[pe],he={key:6,class:"config-container"},ye=l((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-screwdriver-wrench"}),(0,i.Uk)("  Configuration ")],-1))),ge={class:"col-1 pull-right"},fe={key:0,class:"entities"};function ve(e,t,n,l,S,q){const pe=(0,i.up)("ConfirmDialog"),ve=(0,i.up)("EditButton"),_e=(0,i.up)("NameEditor"),we=(0,i.up)("Icon"),be=(0,i.up)("Entity"),Ce=(0,i.up)("Modal",!0);return n.entity?((0,i.wg)(),(0,i.j4)(Ce,{key:0,visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((()=>[(0,i.Wm)(pe,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:q.onDelete},{default:(0,i.w5)((()=>[a,o,r,u,c,d,p,m,h])),_:1},8,["onInput"]),(0,i._)("div",y,[(0,i._)("div",g,[f,S.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ve,{key:0,onClick:t[0]||(t[0]=e=>S.editName=!0)}))]),(0,i._)("div",v,[S.editName?((0,i.wg)(),(0,i.j4)(_e,{key:0,value:n.entity.name,onInput:q.onRename,onCancel:t[1]||(t[1]=e=>S.editName=!1),disabled:S.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,s.zw)(n.entity.name)},null,8,_))])]),(0,i._)("div",w,[(0,i._)("div",b,[C,S.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ve,{key:0,onClick:t[2]||(t[2]=e=>S.editIcon=!0)}))]),(0,i._)("div",k,[S.editIcon?((0,i.wg)(),(0,i.iD)("span",E,[(0,i.Wm)(_e,{value:n.entity.meta?.icon?.class||n.entity.meta?.icon?.url,onInput:q.onIconEdit,onCancel:t[5]||(t[5]=e=>S.editIcon=!1),disabled:S.loading},{default:(0,i.w5)((()=>[(0,i._)("button",{type:"button",title:"Reset",onClick:t[3]||(t[3]=e=>q.onIconEdit(null)),onTouch:t[4]||(t[4]=e=>q.onIconEdit(null))},I,32)])),_:1},8,["value","onInput","disabled"]),x])):((0,i.wg)(),(0,i.j4)(we,(0,s.vs)((0,i.dG)({key:1},n.entity?.meta?.icon||{})),null,16))])]),(0,i._)("div",D,[j,(0,i._)("div",G,[(0,i._)("input",{type:"color",value:n.entity.meta?.icon?.color,onChange:t[6]||(t[6]=(...e)=>q.onIconColorEdit&&q.onIconColorEdit(...e))},null,40,T),(0,i._)("button",{type:"button",title:"Reset",onClick:t[7]||(t[7]=e=>q.onIconColorEdit(null)),onTouch:t[8]||(t[8]=e=>q.onIconColorEdit(null))},O,32)])]),(0,i._)("div",U,[M,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.plugin)},null,8,$)]),(0,i._)("div",L,[B,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.id)},null,8,N)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",Z,[V,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.external_id)},null,8,z)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",F,[P,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.description)},null,8,R)])):(0,i.kq)("",!0),n.entity.external_url?((0,i.wg)(),(0,i.iD)("div",W,[H,(0,i._)("div",K,[(0,i._)("a",{href:n.entity.external_url,target:"_blank",text:n.entity.external_url},null,8,Y)])])):(0,i.kq)("",!0),n.entity.image_url?((0,i.wg)(),(0,i.iD)("div",A,[J,(0,i._)("div",Q,[(0,i._)("img",{class:"entity-image",src:n.entity.image_url},null,8,X)])])):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t?((0,i.wg)(),(0,i.iD)("div",ee,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,te),(0,i._)("div",{class:"value",textContent:(0,s.zw)(""+t)},null,8,ne)])):(0,i.kq)("",!0)])))),128)),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",ie,[se,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.created_at))},null,8,le)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",ae,[oe,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.updated_at))},null,8,re)])):(0,i.kq)("",!0),(0,i._)("div",ue,[ce,(0,i._)("div",de,[(0,i._)("button",{onClick:t[9]||(t[9]=t=>e.$refs.deleteConfirmDiag.show())},me)])]),q.computedConfig.length?((0,i.wg)(),(0,i.iD)("div",he,[(0,i._)("div",{class:"title",onClick:t[10]||(t[10]=e=>S.configCollapsed=!S.configCollapsed)},[ye,(0,i._)("div",ge,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":S.configCollapsed,"fa-chevron-up":!S.configCollapsed}])},null,2)])]),S.configCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",fe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(q.computedConfig,(t=>((0,i.wg)(),(0,i.j4)(be,{key:t.id,value:t,onInput:n=>e.$emit("input",t)},null,8,["value","onInput"])))),128))]))])):(0,i.kq)("",!0)])),_:1},8,["visible","title"])):(0,i.kq)("",!0)}var _e=n(8453),we=n(1478),be=n(9963);const Ce=e=>((0,i.dD)("data-v-d543b3e4"),e=e(),(0,i.Cn)(),e),ke={class:"dialog-content"},Ee=Ce((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),Se=Ce((()=>(0,i._)("i",{class:"fas fa-xmark"},null,-1)));function Ie(e,t,n,l,a,o){const r=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(r,{ref:"modal",title:n.title},{default:(0,i.w5)((()=>[(0,i._)("div",ke,[(0,i.WI)(e.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:t[4]||(t[4]=(0,be.iM)(((...e)=>o.onConfirm&&o.onConfirm(...e)),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:t[0]||(t[0]=(...e)=>o.onConfirm&&o.onConfirm(...e)),onTouch:t[1]||(t[1]=(...e)=>o.onConfirm&&o.onConfirm(...e))},[Ee,(0,i.Uk)("  "+(0,s.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:t[2]||(t[2]=(...e)=>o.close&&o.close(...e)),onTouch:t[3]||(t[3]=(...e)=>o.close&&o.close(...e))},[Se,(0,i.Uk)("  "+(0,s.zw)(n.cancelText),1)],32)],32)])),_:3},8,["title"])}var xe={emits:["input","click","touch"],components:{Modal:_e.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},De=n(3744);const je=(0,De.Z)(xe,[["render",Ie],["__scopeId","data-v-d543b3e4"]]);var Ge=je;const Te=e=>((0,i.dD)("data-v-3344f2bf"),e=e(),(0,i.Cn)(),e),qe=Te((()=>(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1))),Oe=[qe];function Ue(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:t[0]||(t[0]=e=>a.proxy(e)),onTouch:t[1]||(t[1]=e=>a.proxy(e)),onInput:t[2]||(t[2]=e=>a.proxy(e))},Oe,32)}var Me={emits:["input","click","touch"],methods:{proxy(e){this.$emit(e.type,e)}}};const $e=(0,De.Z)(Me,[["render",Ue],["__scopeId","data-v-3344f2bf"]]);var Le=$e;const Be=e=>((0,i.dD)("data-v-1405d90f"),e=e(),(0,i.Cn)(),e),Ne=["disabled"],Ze=Be((()=>(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1))),Ve=Be((()=>(0,i._)("i",{class:"fas fa-ban"},null,-1))),ze=[Ve];function Fe(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:t[3]||(t[3]=(0,be.iM)(((...e)=>a.submit&&a.submit(...e)),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>l.text=e),disabled:n.disabled},null,8,Ne),[[be.nr,l.text]]),Ze,(0,i._)("button",{class:"cancel",onClick:t[1]||(t[1]=t=>e.$emit("cancel")),onTouch:t[2]||(t[2]=t=>e.$emit("cancel"))},ze,32),(0,i.WI)(e.$slots,"default",{},void 0,!0)],32)}var Pe={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data(){return{text:null}},methods:{proxy(e){this.$emit(e.type,e)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value}};const Re=(0,De.Z)(Pe,[["render",Fe],["__scopeId","data-v-1405d90f"]]);var We=Re,He=n(6813),Ke=n(3053),Ye=n(7369),Ae={name:"EntityModal",components:{Entity:Ke["default"],Modal:_e.Z,EditButton:Le,NameEditor:We,Icon:we.Z,ConfirmDialog:Ge},mixins:[He.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1},configValues:{type:Object,default:()=>{}}},computed:{computedConfig(){return Object.values(this.configValues).sort(((e,t)=>(e.name||"").localeCompare(t.name||"")))}},data(){return{loading:!1,editName:!1,editIcon:!1,configCollapsed:!0}},methods:{async onRename(e){this.loading=!0;try{const t={};t[this.entity.id]=e,await this.request("entities.rename",t)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(e){this.loading=!0;try{const t={url:null,class:null};e?.length?e.startsWith("http")?t.url=e:t.class=e:(t.url=(Ye[this.entity.type]||{})?.icon?.url,t.class=(Ye[this.entity.type]||{})?.icon?.["class"]);const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(e){this.loading=!0;try{const t=this.entity.meta?.icon||{};t.color=e?e.target.value:null;const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}}}};const Je=(0,De.Z)(Ae,[["render",ve],["__scopeId","data-v-48d9692c"]]);var Qe=Je},6518:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var i=n(6252),s=n(3577),l=n(9963);const a={class:"entities-selectors-container"},o={class:"selector"},r={key:1,class:"selector"};function u(e,t,n,u,c,d){const p=(0,i.up)("DropdownItem"),m=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",o,[(0,i.Wm)(m,{title:"Group by","icon-class":"fas fa-object-ungroup",ref:"groupingSelector"},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(e=>((0,i.wg)(),(0,i.j4)(p,{key:e,text:d.prettifyGroupingName(e),"item-class":{selected:n.value?.grouping===e},onClick:t=>d.onGroupingChanged(e)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),n.value?.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(m,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(e=>((0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:e,text:e},d.iconForGroup(e),{"item-class":{selected:!!c.selectedGroups[e]},onClick:(0,l.iM)((t=>d.toggleGroup(e)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",r,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":t[0]||(t[0]=e=>c.searchTerm=e)},null,512),[[l.nr,c.searchTerm]])])):(0,i.kq)("",!0)])}var c=n(6813),d=n(5771),p=n(2684),m=n(7369),h=n(1359),y={name:"Selector",emits:["input"],mixins:[c.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((e=>"id"!==e))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return m},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((e=>{if(!this.selectedGroups[e[this.value?.grouping]])return!1;if(this.searchTerm?.length){const t=this.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(t)>=0||(e.plugin||"").toLowerCase().indexOf(t)>=0||(e.external_id||"").toLowerCase().indexOf(t)>=0||(e.id||0).toString()==t}return!0})).reduce(((e,t)=>(e[t.id]=t,e)),{})}},methods:{prettifyGroupingName(e){return e?(e=this.prettify(e),e.endsWith("y")&&(e=e.slice(0,e.length-1)+"ie"),e+="s",e):""},iconForGroup(e){if("plugin"===this.value.grouping&&h[e]){const t=h[e];return{"icon-class":t["class"]?.length||!t.imgUrl?.length?t["class"]:"fas fa-gears","icon-url":t.imgUrl}}return{}},synchronizeSelectedEntities(){const e={...this.value};e.selectedEntities=this.selectedEntities,this.$emit("input",e)},updateSearchTerm(){const e={...this.value};e.searchTerm=this.searchTerm,e.selectedEntities=this.selectedEntities,this.$emit("input",e)},refreshGroupFilter(e){if(e)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((e,t)=>(e[t]=!0,e)),{});else for(const t of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[t]&&(this.selectedGroups[t]=!0);this.synchronizeSelectedEntities()},toggleGroup(e){this.selectedGroups[e]=!this.selectedGroups[e],this.synchronizeSelectedEntities()},onGroupingChanged(e){if(!this.entityGroups[e]||e===this.value?.grouping)return!1;const t={...this.value};t.grouping=e,this.$emit("input",t)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},g=n(3744);const f=(0,g.Z)(y,[["render",u],["__scopeId","data-v-7babaacc"]]);var v=f},7243:function(e,t,n){var i={"./Battery":[9651,9,218,9651],"./Battery.vue":[9651,9,218,9651],"./BinarySensor":[7549,9,218,3490,7549],"./BinarySensor.vue":[7549,9,218,3490,7549],"./Button":[8625,9,218,5006,8625],"./Button.vue":[8625,9,218,5006,8625],"./CurrentSensor":[1399,9,218,5006,1399],"./CurrentSensor.vue":[1399,9,218,5006,1399],"./Device":[4435,9,218,4435],"./Device.vue":[4435,9,218,4435],"./Dimmer":[5775,9,7246,218,5775],"./Dimmer.vue":[5775,9,7246,218,5775],"./EnergySensor":[1399,9,218,5006,1399],"./EnergySensor.vue":[1399,9,218,5006,1399],"./Entity":[3053,9],"./Entity.vue":[3053,9],"./EntityIcon":[3459,9,218,3459],"./EntityIcon.vue":[3459,9,218,3459],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./EnumSensor":[8625,9,218,5006,8625],"./EnumSensor.vue":[8625,9,218,5006,8625],"./EnumSwitch":[1897,9,218,1897],"./EnumSwitch.vue":[1897,9,218,1897],"./HumiditySensor":[1399,9,218,5006,1399],"./HumiditySensor.vue":[1399,9,218,5006,1399],"./IlluminanceSensor":[1399,9,218,5006,1399],"./IlluminanceSensor.vue":[1399,9,218,5006,1399],"./Index":[9688,9],"./Index.vue":[9688,9],"./Light":[2315,9,7246,218,3490,2315],"./Light.vue":[2315,9,7246,218,3490,2315],"./LinkQuality":[8126,9,218,8126],"./LinkQuality.vue":[8126,9,218,8126],"./Modal":[8472,9],"./Modal.vue":[8472,9],"./MotionSensor":[1399,9,218,5006,1399],"./MotionSensor.vue":[1399,9,218,5006,1399],"./MultiValueSensor":[1399,9,218,5006,1399],"./MultiValueSensor.vue":[1399,9,218,5006,1399],"./Muted":[3303,9,218,3490,3303],"./Muted.vue":[3303,9,218,3490,3303],"./NumericSensor":[1399,9,218,5006,1399],"./NumericSensor.vue":[1399,9,218,5006,1399],"./PowerSensor":[1399,9,218,5006,1399],"./PowerSensor.vue":[1399,9,218,5006,1399],"./RawSensor":[1399,9,218,5006,1399],"./RawSensor.vue":[1399,9,218,5006,1399],"./Selector":[6518,9],"./Selector.vue":[6518,9],"./Sensor":[1399,9,218,5006,1399],"./Sensor.vue":[1399,9,218,5006,1399],"./Switch":[3303,9,218,3490,3303],"./Switch.vue":[3303,9,218,3490,3303],"./TemperatureSensor":[1399,9,218,5006,1399],"./TemperatureSensor.vue":[1399,9,218,5006,1399],"./VoltageSensor":[1399,9,218,5006,1399],"./VoltageSensor.vue":[1399,9,218,5006,1399],"./Volume":[5775,9,7246,218,5775],"./Volume.vue":[5775,9,7246,218,5775],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],s=t[0];return Promise.all(t.slice(2).map(n.e)).then((function(){return n.t(s,16|t[1])}))}s.keys=function(){return Object.keys(i)},s.id=7243,e.exports=s},7369:function(e){"use strict";e.exports=JSON.parse('{"battery":{"name":"Battery","name_plural":"Batteries","icon":{"class":"fas fa-battery-full"}},"button":{"name":"Button","name_plural":"Buttons","icon":{"class":"fas fa-circle-dot"}},"current_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-bolt"}},"motion_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person-running"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"volume":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-volume-high"}},"dimmer":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-gauge"}},"energy_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"humidity_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-droplet"}},"illuminance_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-sun"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}},"link_quality":{"name":"Link Quality","name_plural":"Link Qualities","icon":{"class":"fas fa-tower-broadcast"}},"power_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"temperature_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-temperature-half"}},"muted":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-volume-xmark"}},"enum_switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-gauge"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"voltage_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-car-battery"}},"multi_value_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"binary_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"numeric_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"enum_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}}}')}}]);
-//# sourceMappingURL=3053.7b8c6ed5.js.map
\ No newline at end of file
+(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3053],{3053:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var i=n(6252),s=n(3577),l=n(9963);const a={key:0,class:"children fade-in"};function o(e,t,n,o,r,u){const c=(0,i.up)("Entity",!0);return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-container-wrapper",{"with-children":u.hasChildren,collapsed:u.isCollapsed,hidden:!e.value?.name?.length}])},[(0,i._)("div",{class:(0,s.C_)(["row item entity-container",{"with-children":u.hasChildren,collapsed:u.isCollapsed,blink:r.justUpdated}])},[(0,i._)("div",{class:(0,s.C_)(["adjuster",{"col-12":!u.hasChildren,"col-11":u.hasChildren}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{value:e.value,loading:e.loading,ref:"instance",error:e.error||0==e.value?.reachable,onClick:u.onClick,onInput:t[0]||(t[0]=t=>e.$emit("input",t)),onLoading:t[1]||(t[1]=t=>e.$emit("loading",t))},null,8,["value","loading","error","onClick"]))],2),u.hasChildren?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"col-1 collapse-toggler",onClick:t[2]||(t[2]=(0,l.iM)(((...e)=>u.toggleCollapsed&&u.toggleCollapsed(...e)),["stop"]))},[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":u.isCollapsed,"fa-chevron-up":!u.isCollapsed}])},null,2)])):(0,i.kq)("",!0)],2),u.isCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(u.computedChildren,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"child",key:t.id},[(0,i.Wm)(c,{value:t,loading:e.loading,level:e.level+1,onInput:n=>e.$emit("input",t)},null,8,["value","loading","level","onInput"])])))),128))]))],2)}var r=n(2262),u=n(7909),c=n(5250),d={name:"Entity",mixins:[u["default"]],emits:["input","loading","update"],data(){return{component:null,justUpdated:!1}},computed:{computedChildren(){return Object.values(this.children||{}).filter((e=>e))},hasChildren(){return!!this.computedChildren.length},isCollapsed(){return!this.hasChildren||this.collapsed},instance(){return this.$refs.instance}},methods:{valuesEqual(e,t){e={...e},t={...t};for(const n of["updated_at","data"])delete e[n],delete t[n];return this.objectsEqual(e,t)},onClick(e){(e.target.classList.contains("label")||e.target.classList.contains("head"))&&(e.stopPropagation(),this.toggleCollapsed())},onEntityUpdate(e){const t=e?.id,n=null!=t&&this.children&&t in this.children;n&&this.setJustUpdated()},toggleCollapsed(){this.collapsed=!this.collapsed,this.instance&&(this.instance.collapsed=!this.instance.collapsed)},setJustUpdated(){this.justUpdated=!0;const e=this;setTimeout((()=>e.justUpdated=!1),1e3)}},mounted(){if("Entity"!==this.type){const e=this.type.split("_").map((e=>e[0].toUpperCase()+e.slice(1))).join("");this.$watch((()=>this.value),((e,t)=>{if(this.valuesEqual(t,e))return!1;this.setJustUpdated(),this.$emit("update",{value:e})})),this.component=(0,r.XI)((0,i.RC)((()=>n(7243)(`./${e}`))))}c.$.onEntity(this.onEntityUpdate)}},p=n(3744);const m=(0,p.Z)(d,[["render",o],["__scopeId","data-v-70080e98"]]);var h=m},7909:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var i=n(6813),s={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0},children:{type:Object,default:()=>{}},level:{type:Number,default:0}},data(){return{modalVisible:!1,collapsed:!0}},computed:{type(){let e=this.value.type||"";return e.split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}}};const l=s;var a=l},9688:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=n(6252),s=n(3577);const l=e=>((0,i.dD)("data-v-51aa9db3"),e=e(),(0,i.Cn)(),e),a={class:"row plugin entities-container"},o={class:"col-11 left"},r={class:"col-1 right"},u=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),c=[u],d={class:"groups-canvas"},p=(0,i.Uk)("No entities found"),m={key:2,class:"groups-container"},h={class:"frame"},y={class:"header"},g={class:"section left"},f={class:"section center"},v=["textContent"],_={class:"section right"},w=["onClick"],b=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),C=[b],k={class:"body"},E=["onClick"];function S(e,t,n,l,u,b){const S=(0,i.up)("Loading"),I=(0,i.up)("Selector"),x=(0,i.up)("EntityModal"),D=(0,i.up)("NoItems"),j=(0,i.up)("Icon"),G=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",a,[u.loading?((0,i.wg)(),(0,i.j4)(S,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",o,[(0,i.Wm)(I,{"entity-groups":b.entityGroups,value:u.selector,onInput:t[0]||(t[0]=e=>u.selector=e)},null,8,["entity-groups","value"])]),(0,i._)("div",r,[(0,i._)("button",{title:"Refresh",onClick:t[1]||(t[1]=(...e)=>b.refresh&&b.refresh(...e))},c)])]),(0,i._)("div",d,[u.modalEntityId&&u.entities[u.modalEntityId]?((0,i.wg)(),(0,i.j4)(x,{key:0,entity:u.entities[u.modalEntityId],visible:u.modalVisible,"config-values":b.configValuesByParentId(u.modalEntityId),onClose:b.onEntityModal},null,8,["entity","visible","config-values","onClose"])):(0,i.kq)("",!0),Object.keys(b.displayGroups||{})?.length?((0,i.wg)(),(0,i.iD)("div",m,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(b.displayGroups,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:e.name},[(0,i._)("div",h,[(0,i._)("div",y,[(0,i._)("span",g,["category"===u.selector.grouping&&b.entitiesMeta[b.typesByCategory[e.name]]?((0,i.wg)(),(0,i.j4)(j,(0,s.vs)((0,i.dG)({key:0},b.entitiesMeta[b.typesByCategory[e.name]].icon||{})),null,16)):"plugin"===u.selector.grouping&&b.pluginIcons[e.name]?((0,i.wg)(),(0,i.j4)(j,{key:1,class:(0,s.C_)(b.pluginIcons[e.name]?.class),url:b.pluginIcons[e.name]?.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",f,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.name)},null,8,v)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:t=>b.refresh(e)},C,8,w)])]),(0,i._)("div",k,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.entities,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",onClick:t=>b.onEntityModal(e.id),key:e.id},[e.parent_id?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(G,{key:0,value:e,children:b.childrenByParentId(e.id),onInput:t=>b.onEntityInput(e),error:!!u.errorEntities[e.id],loading:!!u.loadingEntities[e.id],onLoading:t=>u.loadingEntities[e.id]=t},null,8,["value","children","onInput","error","loading","onLoading"]))],8,E)))),128))])])])))),128))])):((0,i.wg)(),(0,i.j4)(D,{key:1},{default:(0,i.w5)((()=>[p])),_:1}))])])}var I=n(6813),x=n(1232),D=n(1478);const j={class:"no-items-container"},G={class:"no-items fade-in"};function T(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("div",j,[(0,i._)("div",G,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])}var q={name:"NoItems"},O=n(3744);const U=(0,O.Z)(q,[["render",T],["__scopeId","data-v-6fec32b5"]]);var M=U,$=n(3053),L=n(6518),B=n(8472),N=n(5250),Z=n(1359),V=n(7369),z={name:"Entities",components:{Loading:x.Z,Icon:D.Z,Entity:$["default"],Selector:L["default"],NoItems:M,EntityModal:B["default"]},mixins:[I.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"category",selectedEntities:{}}}},computed:{entitiesMeta(){return V},pluginIcons(){return Z},entityTypes(){return this.groupEntities("type")},typesByCategory(){return Object.entries(V).reduce(((e,[t,n])=>(e[n.name_plural]=t,e)),{})},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((e,[t,n])=>(e[t]=n[0],e)),{}),category:this.groupEntities("category"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((e=>e[1].filter((e=>!!this.selector.selectedEntities[e.id]&&null==e.parent_id)).length>0)).map((([e,t])=>({name:e,entities:t.filter((e=>e.id in this.selector.selectedEntities))}))).sort(((e,t)=>e.name.localeCompare(t.name)))}},methods:{groupEntities(e){return Object.values(this.entities).filter((e=>null==e.parent_id)).reduce(((t,n)=>{const i=t[n[e]]||{};return i[n.id]=n,t[n[e]]=Object.values(i).sort(((e,t)=>e.name.localeCompare(t.name))),t}),{})},_shouldSkipLoading(e){const t=Object.values(this.childrenByParentId(e.id)),n=t.filter((e=>!e.is_configuration&&!e.is_write_only&&!e.is_query_disabled)).length>0;return e.is_query_disabled||e.is_write_only||t.length&&!n},async refresh(e){const t=(e?e.entities:this.entities)||{},n={};e&&(n.plugins=Object.keys(t.reduce(((e,t)=>(e[t.plugin]=!0,e)),{}))),this.loadingEntities=Object.values(t).reduce(((e,t)=>{if(this._shouldSkipLoading(t))return e;const n=this,i=t.id;return this.entityTimeouts[i]&&clearTimeout(this.entityTimeouts[i]),this.entityTimeouts[i]=setTimeout((()=>{n.loadingEntities[i]&&delete n.loadingEntities[i],n.entityTimeouts[i]&&delete n.entityTimeouts[i],n.errorEntities[i]=t,console.warn(`Scan timeout for ${t.name}`)}),1e3*this.entityScanTimeout),e[i]=!0,e}),{}),await this.request("entities.scan",n)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((e,t)=>(t.name=t?.meta?.name_override||t.name,t.category=V[t.type].name_plural,t.meta={...V[t.type]||{},...t.meta||{}},e[t.id]=t,e)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},childrenByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&!t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},configValuesByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},clearEntityTimeouts(e){this.errorEntities[e]&&delete this.errorEntities[e],this.loadingEntities[e]&&delete this.loadingEntities[e],this.entityTimeouts[e]&&(clearTimeout(this.entityTimeouts[e]),delete this.entityTimeouts[e])},onEntityInput(e){e.category=V[e.type].name_plural,this.entities[e.id]=e,this.clearEntityTimeouts(e.id),this.loadingEntities[e.id]&&delete this.loadingEntities[e.id]},onEntityUpdate(e){const t=e.entity.id;if(null==t)return;this.clearEntityTimeouts(t);const n={...e.entity};null==e.entity?.state&&(n.state=this.entities[t]?.state),n.meta?.name_override?.length?n.name=n.meta.name_override:this.entities[t]?.meta?.name_override?.length?n.name=this.entities[t].meta.name_override:n.name=e.entity?.name||this.entities[t]?.name,n.category=V[n.type].name_plural,n.meta={...V[e.entity.type]||{},...this.entities[t]?.meta||{},...e.entity?.meta||{}},this.entities[t]=n,N.$.publishEntity(n)},onEntityDelete(e){const t=e.entity?.id;null!=t&&(t===this.modalEntityId&&(this.modalEntityId=null),this.entities[t]&&delete this.entities[t])},onEntityModal(e){e?(this.modalEntityId=e,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()},unmounted(){this.unsubscribe("on-entity-update")}};const F=(0,O.Z)(z,[["render",S],["__scopeId","data-v-51aa9db3"]]);var P=F},8472:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Qe}});var i=n(6252),s=n(3577);const l=e=>((0,i.dD)("data-v-48d9692c"),e=e(),(0,i.Cn)(),e),a=(0,i.Uk)(" Are you "),o=l((()=>(0,i._)("b",null,"sure",-1))),r=(0,i.Uk)(" that you want to delete this entity? "),u=l((()=>(0,i._)("br",null,null,-1))),c=l((()=>(0,i._)("br",null,null,-1))),d=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),p=l((()=>(0,i._)("br",null,null,-1))),m=l((()=>(0,i._)("br",null,null,-1))),h=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),y={class:"table-row"},g={class:"title"},f=(0,i.Uk)(" Name "),v={class:"value"},_=["textContent"],w={class:"table-row"},b={class:"title"},C=(0,i.Uk)(" Icon "),k={class:"value icon-canvas"},E={key:0,class:"icon-editor"},S=l((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),I=[S],x=l((()=>(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1))),D={class:"table-row"},j=l((()=>(0,i._)("div",{class:"title"}," Icon color ",-1))),G={class:"value icon-color-picker"},T=["value"],q=l((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),O=[q],U={class:"table-row"},M=l((()=>(0,i._)("div",{class:"title"},"Plugin",-1))),$=["textContent"],L={class:"table-row"},B=l((()=>(0,i._)("div",{class:"title"},"Internal ID",-1))),N=["textContent"],Z={key:0,class:"table-row"},V=l((()=>(0,i._)("div",{class:"title"},"External ID",-1))),z=["textContent"],F={key:1,class:"table-row"},P=l((()=>(0,i._)("div",{class:"title"},"Description",-1))),R=["textContent"],W={key:2,class:"table-row"},H=l((()=>(0,i._)("div",{class:"title"},"External URL",-1))),K={class:"value url"},Y=["href","text"],A={key:3,class:"table-row"},J=l((()=>(0,i._)("div",{class:"title"},"Image",-1))),Q={class:"value"},X=["src"],ee={key:0,class:"table-row"},te=["textContent"],ne=["textContent"],ie={key:4,class:"table-row"},se=l((()=>(0,i._)("div",{class:"title"},"Created at",-1))),le=["textContent"],ae={key:5,class:"table-row"},oe=l((()=>(0,i._)("div",{class:"title"},"Updated at",-1))),re=["textContent"],ue={class:"table-row delete-entity-container"},ce=l((()=>(0,i._)("div",{class:"title"},"Delete Entity",-1))),de={class:"value"},pe=l((()=>(0,i._)("i",{class:"fas fa-trash"},null,-1))),me=[pe],he={key:6,class:"config-container"},ye=l((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-screwdriver-wrench"}),(0,i.Uk)("  Configuration ")],-1))),ge={class:"col-1 pull-right"},fe={key:0,class:"entities"};function ve(e,t,n,l,S,q){const pe=(0,i.up)("ConfirmDialog"),ve=(0,i.up)("EditButton"),_e=(0,i.up)("NameEditor"),we=(0,i.up)("Icon"),be=(0,i.up)("Entity"),Ce=(0,i.up)("Modal",!0);return n.entity?((0,i.wg)(),(0,i.j4)(Ce,{key:0,visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((()=>[(0,i.Wm)(pe,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:q.onDelete},{default:(0,i.w5)((()=>[a,o,r,u,c,d,p,m,h])),_:1},8,["onInput"]),(0,i._)("div",y,[(0,i._)("div",g,[f,S.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ve,{key:0,onClick:t[0]||(t[0]=e=>S.editName=!0)}))]),(0,i._)("div",v,[S.editName?((0,i.wg)(),(0,i.j4)(_e,{key:0,value:n.entity.name,onInput:q.onRename,onCancel:t[1]||(t[1]=e=>S.editName=!1),disabled:S.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,s.zw)(n.entity.name)},null,8,_))])]),(0,i._)("div",w,[(0,i._)("div",b,[C,S.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(ve,{key:0,onClick:t[2]||(t[2]=e=>S.editIcon=!0)}))]),(0,i._)("div",k,[S.editIcon?((0,i.wg)(),(0,i.iD)("span",E,[(0,i.Wm)(_e,{value:n.entity.meta?.icon?.class||n.entity.meta?.icon?.url,onInput:q.onIconEdit,onCancel:t[5]||(t[5]=e=>S.editIcon=!1),disabled:S.loading},{default:(0,i.w5)((()=>[(0,i._)("button",{type:"button",title:"Reset",onClick:t[3]||(t[3]=e=>q.onIconEdit(null)),onTouch:t[4]||(t[4]=e=>q.onIconEdit(null))},I,32)])),_:1},8,["value","onInput","disabled"]),x])):((0,i.wg)(),(0,i.j4)(we,(0,s.vs)((0,i.dG)({key:1},n.entity?.meta?.icon||{})),null,16))])]),(0,i._)("div",D,[j,(0,i._)("div",G,[(0,i._)("input",{type:"color",value:n.entity.meta?.icon?.color,onChange:t[6]||(t[6]=(...e)=>q.onIconColorEdit&&q.onIconColorEdit(...e))},null,40,T),(0,i._)("button",{type:"button",title:"Reset",onClick:t[7]||(t[7]=e=>q.onIconColorEdit(null)),onTouch:t[8]||(t[8]=e=>q.onIconColorEdit(null))},O,32)])]),(0,i._)("div",U,[M,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.plugin)},null,8,$)]),(0,i._)("div",L,[B,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.id)},null,8,N)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",Z,[V,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.external_id)},null,8,z)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",F,[P,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.description)},null,8,R)])):(0,i.kq)("",!0),n.entity.external_url?((0,i.wg)(),(0,i.iD)("div",W,[H,(0,i._)("div",K,[(0,i._)("a",{href:n.entity.external_url,target:"_blank",text:n.entity.external_url},null,8,Y)])])):(0,i.kq)("",!0),n.entity.image_url?((0,i.wg)(),(0,i.iD)("div",A,[J,(0,i._)("div",Q,[(0,i._)("img",{class:"entity-image",src:n.entity.image_url},null,8,X)])])):(0,i.kq)("",!0),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t?((0,i.wg)(),(0,i.iD)("div",ee,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,te),(0,i._)("div",{class:"value",textContent:(0,s.zw)(""+t)},null,8,ne)])):(0,i.kq)("",!0)])))),128)),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",ie,[se,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.created_at))},null,8,le)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",ae,[oe,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.updated_at))},null,8,re)])):(0,i.kq)("",!0),(0,i._)("div",ue,[ce,(0,i._)("div",de,[(0,i._)("button",{onClick:t[9]||(t[9]=t=>e.$refs.deleteConfirmDiag.show())},me)])]),q.computedConfig.length?((0,i.wg)(),(0,i.iD)("div",he,[(0,i._)("div",{class:"title",onClick:t[10]||(t[10]=e=>S.configCollapsed=!S.configCollapsed)},[ye,(0,i._)("div",ge,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":S.configCollapsed,"fa-chevron-up":!S.configCollapsed}])},null,2)])]),S.configCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",fe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(q.computedConfig,(t=>((0,i.wg)(),(0,i.j4)(be,{key:t.id,value:t,onInput:n=>e.$emit("input",t)},null,8,["value","onInput"])))),128))]))])):(0,i.kq)("",!0)])),_:1},8,["visible","title"])):(0,i.kq)("",!0)}var _e=n(8453),we=n(1478),be=n(9963);const Ce=e=>((0,i.dD)("data-v-d543b3e4"),e=e(),(0,i.Cn)(),e),ke={class:"dialog-content"},Ee=Ce((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),Se=Ce((()=>(0,i._)("i",{class:"fas fa-xmark"},null,-1)));function Ie(e,t,n,l,a,o){const r=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(r,{ref:"modal",title:n.title},{default:(0,i.w5)((()=>[(0,i._)("div",ke,[(0,i.WI)(e.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:t[4]||(t[4]=(0,be.iM)(((...e)=>o.onConfirm&&o.onConfirm(...e)),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:t[0]||(t[0]=(...e)=>o.onConfirm&&o.onConfirm(...e)),onTouch:t[1]||(t[1]=(...e)=>o.onConfirm&&o.onConfirm(...e))},[Ee,(0,i.Uk)("  "+(0,s.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:t[2]||(t[2]=(...e)=>o.close&&o.close(...e)),onTouch:t[3]||(t[3]=(...e)=>o.close&&o.close(...e))},[Se,(0,i.Uk)("  "+(0,s.zw)(n.cancelText),1)],32)],32)])),_:3},8,["title"])}var xe={emits:["input","click","touch"],components:{Modal:_e.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},De=n(3744);const je=(0,De.Z)(xe,[["render",Ie],["__scopeId","data-v-d543b3e4"]]);var Ge=je;const Te=e=>((0,i.dD)("data-v-3344f2bf"),e=e(),(0,i.Cn)(),e),qe=Te((()=>(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1))),Oe=[qe];function Ue(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:t[0]||(t[0]=e=>a.proxy(e)),onTouch:t[1]||(t[1]=e=>a.proxy(e)),onInput:t[2]||(t[2]=e=>a.proxy(e))},Oe,32)}var Me={emits:["input","click","touch"],methods:{proxy(e){this.$emit(e.type,e)}}};const $e=(0,De.Z)(Me,[["render",Ue],["__scopeId","data-v-3344f2bf"]]);var Le=$e;const Be=e=>((0,i.dD)("data-v-1405d90f"),e=e(),(0,i.Cn)(),e),Ne=["disabled"],Ze=Be((()=>(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1))),Ve=Be((()=>(0,i._)("i",{class:"fas fa-ban"},null,-1))),ze=[Ve];function Fe(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:t[3]||(t[3]=(0,be.iM)(((...e)=>a.submit&&a.submit(...e)),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>l.text=e),disabled:n.disabled},null,8,Ne),[[be.nr,l.text]]),Ze,(0,i._)("button",{class:"cancel",onClick:t[1]||(t[1]=t=>e.$emit("cancel")),onTouch:t[2]||(t[2]=t=>e.$emit("cancel"))},ze,32),(0,i.WI)(e.$slots,"default",{},void 0,!0)],32)}var Pe={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,deafult:!1}},data(){return{text:null}},methods:{proxy(e){this.$emit(e.type,e)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value}};const Re=(0,De.Z)(Pe,[["render",Fe],["__scopeId","data-v-1405d90f"]]);var We=Re,He=n(6813),Ke=n(3053),Ye=n(7369),Ae={name:"EntityModal",components:{Entity:Ke["default"],Modal:_e.Z,EditButton:Le,NameEditor:We,Icon:we.Z,ConfirmDialog:Ge},mixins:[He.Z],emits:["input","loading"],props:{entity:{type:Object,required:!0},visible:{type:Boolean,default:!1},configValues:{type:Object,default:()=>{}}},computed:{computedConfig(){return Object.values(this.configValues).sort(((e,t)=>(e.name||"").localeCompare(t.name||"")))}},data(){return{loading:!1,editName:!1,editIcon:!1,configCollapsed:!0}},methods:{async onRename(e){this.loading=!0;try{const t={};t[this.entity.id]=e,await this.request("entities.rename",t)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(e){this.loading=!0;try{const t={url:null,class:null};e?.length?e.startsWith("http")?t.url=e:t.class=e:(t.url=(Ye[this.entity.type]||{})?.icon?.url,t.class=(Ye[this.entity.type]||{})?.icon?.["class"]);const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(e){this.loading=!0;try{const t=this.entity.meta?.icon||{};t.color=e?e.target.value:null;const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}}}};const Je=(0,De.Z)(Ae,[["render",ve],["__scopeId","data-v-48d9692c"]]);var Qe=Je},6518:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var i=n(6252),s=n(3577),l=n(9963);const a={class:"entities-selectors-container"},o={class:"selector"},r={key:1,class:"selector"};function u(e,t,n,u,c,d){const p=(0,i.up)("DropdownItem"),m=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",o,[(0,i.Wm)(m,{title:"Group by","icon-class":"fas fa-object-ungroup",ref:"groupingSelector"},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(e=>((0,i.wg)(),(0,i.j4)(p,{key:e,text:d.prettifyGroupingName(e),"item-class":{selected:n.value?.grouping===e},onClick:t=>d.onGroupingChanged(e)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),n.value?.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(m,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(e=>((0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:e,text:e},d.iconForGroup(e),{"item-class":{selected:!!c.selectedGroups[e]},onClick:(0,l.iM)((t=>d.toggleGroup(e)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",r,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":t[0]||(t[0]=e=>c.searchTerm=e)},null,512),[[l.nr,c.searchTerm]])])):(0,i.kq)("",!0)])}var c=n(6813),d=n(5771),p=n(2684),m=n(7369),h=n(1359),y={name:"Selector",emits:["input"],mixins:[c.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((e=>"id"!==e))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return m},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((e=>{if(!this.selectedGroups[e[this.value?.grouping]])return!1;if(this.searchTerm?.length){const t=this.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(t)>=0||(e.plugin||"").toLowerCase().indexOf(t)>=0||(e.external_id||"").toLowerCase().indexOf(t)>=0||(e.id||0).toString()==t}return!0})).reduce(((e,t)=>(e[t.id]=t,e)),{})}},methods:{prettifyGroupingName(e){return e?(e=this.prettify(e),e.endsWith("y")&&(e=e.slice(0,e.length-1)+"ie"),e+="s",e):""},iconForGroup(e){if("plugin"===this.value.grouping&&h[e]){const t=h[e];return{"icon-class":t["class"]?.length||!t.imgUrl?.length?t["class"]:"fas fa-gears","icon-url":t.imgUrl}}return{}},synchronizeSelectedEntities(){const e={...this.value};e.selectedEntities=this.selectedEntities,this.$emit("input",e)},updateSearchTerm(){const e={...this.value};e.searchTerm=this.searchTerm,e.selectedEntities=this.selectedEntities,this.$emit("input",e)},refreshGroupFilter(e){if(e)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((e,t)=>(e[t]=!0,e)),{});else for(const t of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[t]&&(this.selectedGroups[t]=!0);this.synchronizeSelectedEntities()},toggleGroup(e){this.selectedGroups[e]=!this.selectedGroups[e],this.synchronizeSelectedEntities()},onGroupingChanged(e){if(!this.entityGroups[e]||e===this.value?.grouping)return!1;const t={...this.value};t.grouping=e,this.$emit("input",t)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},g=n(3744);const f=(0,g.Z)(y,[["render",u],["__scopeId","data-v-7babaacc"]]);var v=f},7243:function(e,t,n){var i={"./Battery":[9651,9,218,9651],"./Battery.vue":[9651,9,218,9651],"./BinarySensor":[7549,9,218,3490,7549],"./BinarySensor.vue":[7549,9,218,3490,7549],"./Button":[8625,9,218,5006,8625],"./Button.vue":[8625,9,218,5006,8625],"./CurrentSensor":[1399,9,218,5006,1399],"./CurrentSensor.vue":[1399,9,218,5006,1399],"./Device":[4435,9,218,4435],"./Device.vue":[4435,9,218,4435],"./Dimmer":[3593,9,7246,218,3593],"./Dimmer.vue":[3593,9,7246,218,3593],"./EnergySensor":[1399,9,218,5006,1399],"./EnergySensor.vue":[1399,9,218,5006,1399],"./Entity":[3053,9],"./Entity.vue":[3053,9],"./EntityIcon":[3459,9,218,3459],"./EntityIcon.vue":[3459,9,218,3459],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./EnumSensor":[8625,9,218,5006,8625],"./EnumSensor.vue":[8625,9,218,5006,8625],"./EnumSwitch":[3398,9,218,3398],"./EnumSwitch.vue":[3398,9,218,3398],"./HumiditySensor":[1399,9,218,5006,1399],"./HumiditySensor.vue":[1399,9,218,5006,1399],"./IlluminanceSensor":[1399,9,218,5006,1399],"./IlluminanceSensor.vue":[1399,9,218,5006,1399],"./Index":[9688,9],"./Index.vue":[9688,9],"./Light":[2315,9,7246,218,3490,2315],"./Light.vue":[2315,9,7246,218,3490,2315],"./LinkQuality":[8126,9,218,8126],"./LinkQuality.vue":[8126,9,218,8126],"./Modal":[8472,9],"./Modal.vue":[8472,9],"./MotionSensor":[1399,9,218,5006,1399],"./MotionSensor.vue":[1399,9,218,5006,1399],"./MultiValueSensor":[1399,9,218,5006,1399],"./MultiValueSensor.vue":[1399,9,218,5006,1399],"./Muted":[3303,9,218,3490,3303],"./Muted.vue":[3303,9,218,3490,3303],"./NumericSensor":[1399,9,218,5006,1399],"./NumericSensor.vue":[1399,9,218,5006,1399],"./PowerSensor":[1399,9,218,5006,1399],"./PowerSensor.vue":[1399,9,218,5006,1399],"./RawSensor":[1399,9,218,5006,1399],"./RawSensor.vue":[1399,9,218,5006,1399],"./Selector":[6518,9],"./Selector.vue":[6518,9],"./Sensor":[1399,9,218,5006,1399],"./Sensor.vue":[1399,9,218,5006,1399],"./Switch":[3303,9,218,3490,3303],"./Switch.vue":[3303,9,218,3490,3303],"./TemperatureSensor":[1399,9,218,5006,1399],"./TemperatureSensor.vue":[1399,9,218,5006,1399],"./VoltageSensor":[1399,9,218,5006,1399],"./VoltageSensor.vue":[1399,9,218,5006,1399],"./Volume":[3593,9,7246,218,3593],"./Volume.vue":[3593,9,7246,218,3593],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],s=t[0];return Promise.all(t.slice(2).map(n.e)).then((function(){return n.t(s,16|t[1])}))}s.keys=function(){return Object.keys(i)},s.id=7243,e.exports=s},7369:function(e){"use strict";e.exports=JSON.parse('{"battery":{"name":"Battery","name_plural":"Batteries","icon":{"class":"fas fa-battery-full"}},"button":{"name":"Button","name_plural":"Buttons","icon":{"class":"fas fa-circle-dot"}},"current_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-bolt"}},"motion_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person-running"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"volume":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-volume-high"}},"dimmer":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-gauge"}},"energy_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"humidity_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-droplet"}},"illuminance_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-sun"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}},"link_quality":{"name":"Link Quality","name_plural":"Link Qualities","icon":{"class":"fas fa-tower-broadcast"}},"power_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"temperature_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-temperature-half"}},"muted":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-volume-xmark"}},"enum_switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-gauge"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"voltage_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-car-battery"}},"multi_value_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"binary_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"numeric_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"enum_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}}}')}}]);
+//# sourceMappingURL=3053.c03dd152.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/3053.7b8c6ed5.js.map b/platypush/backend/http/webapp/dist/static/js/3053.c03dd152.js.map
similarity index 99%
rename from platypush/backend/http/webapp/dist/static/js/3053.7b8c6ed5.js.map
rename to platypush/backend/http/webapp/dist/static/js/3053.c03dd152.js.map
index f9525d1ab..826e613a3 100644
--- a/platypush/backend/http/webapp/dist/static/js/3053.7b8c6ed5.js.map
+++ b/platypush/backend/http/webapp/dist/static/js/3053.c03dd152.js.map
@@ -1 +1 @@
-{"version":3,"file":"static/js/3053.7b8c6ed5.js","mappings":"gNAwBSA,MAAM,oB,wEAvBb,QAgCM,OAhCDA,OAAK,SAAC,2BAA0B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,QAAW,EAAAC,OAAOC,MAAMC,WADzF,EAEE,OAmBM,OAnBDL,OAAK,SAAC,4BAA2B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,MAAS,EAAAI,gBAD3E,EAEE,OAWM,OAXDN,OAAK,SAAC,WAAU,WAAqB,EAAAC,YAAW,SAAY,EAAAA,gBAAjE,cACE,SASE,QARK,EAAAM,WAAS,CACbJ,MAAO,EAAAA,MACPK,QAAS,EAAAA,QACVC,IAAI,WACHC,MAAO,EAAAA,OAAyB,GAAhB,EAAAP,OAAOQ,UACvB,QAAO,EAAAC,QACP,QAAK,e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EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,GAED,eAAgB,CACf,KACA,GAED,eAAgB,CACf,KACA,EACA,IACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,MAED,gBAAiB,CAChB,KACA,GAED,oBAAqB,CACpB,KACA,GAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,MAED,mBAAoB,CACnB,KACA,EACA,IACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,IACA,KACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,UAAW,CACV,KACA,EACA,KACA,IACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,IACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,IACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,iBAAkB,CACjB,KACA,EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,IACA,KACA,MAED,yBAA0B,CACzB,KACA,EACA,IACA,KACA,MAED,UAAW,CACV,KACA,EACA,IACA,KACA,MAED,cAAe,CACd,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,IACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,IACA,KACA,MAED,cAAe,CACd,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,aAAc,CACb,KACA,GAED,iBAAkB,CACjB,KACA,GAED,WAAY,CACX,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,IACA,KACA,MAED,eAAgB,CACf,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,IACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,IACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,IACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,IACA,MAED,eAAgB,CACf,KACA,EACA,KACA,IACA,MAED,gBAAiB,CAChB,GACA,EACA,KACA,IAED,SAAU,CACT,KACA,GAED,cAAe,CACd,KACA,GAED,cAAe,CACd,KACA,EACA,KACA,OAGF,SAAS0J,EAAoB1B,GAC5B,IAAI2B,EAAoBC,EAAE5J,EAAKgI,GAC9B,OAAO6B,QAAQC,UAAUC,MAAK,WAC7B,IAAI/F,EAAI,IAAIgG,MAAM,uBAAyBhC,EAAM,KAEjD,MADAhE,EAAEiG,KAAO,mBACHjG,CACP,IAGD,IAAIkG,EAAMlK,EAAIgI,GAAMnK,EAAKqM,EAAI,GAC7B,OAAOL,QAAQM,IAAID,EAAI/J,MAAM,GAAGH,IAAI2J,EAAoB3F,IAAI+F,MAAK,WAChE,OAAOJ,EAAoB1J,EAAEpC,EAAa,GAATqM,EAAI,GACtC,GACD,CACAR,EAAoB5H,KAAO,WAAa,OAAO1D,OAAO0D,KAAK9B,EAAM,EACjE0J,EAAoB7L,GAAK,KACzBuM,EAAOC,QAAUX,C","sources":["webpack://platypush/./src/components/panels/Entities/Entity.vue","webpack://platypush/./src/components/panels/Entities/Entity.vue?6f8a","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue?a9b3","webpack://platypush/./src/components/panels/Entities/Index.vue","webpack://platypush/./src/components/elements/NoItems.vue","webpack://platypush/./src/components/elements/NoItems.vue?70de","webpack://platypush/./src/components/panels/Entities/Index.vue?4523","webpack://platypush/./src/components/panels/Entities/Modal.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/EditButton.vue","webpack://platypush/./src/components/elements/EditButton.vue?fb20","webpack://platypush/./src/components/elements/NameEditor.vue","webpack://platypush/./src/components/elements/NameEditor.vue?34cf","webpack://platypush/./src/components/panels/Entities/Modal.vue?d45a","webpack://platypush/./src/components/panels/Entities/Selector.vue","webpack://platypush/./src/components/panels/Entities/Selector.vue?bf8b","webpack://platypush/./src/components/panels/Entities|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"sourcesContent":["\n
\n
\n
\n \n
\n\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=70080e98&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=70080e98&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70080e98\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=51aa9db3&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=51aa9db3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-51aa9db3\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=70080e98&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=70080e98&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-70080e98\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n
\n \n\n \n
\n \n
\n\n
\n \n
\n \n\n
\n \n\n No entities found\n\n
\n
\n
\n
\n \n \n \n \n\n \n \n \n\n \n \n \n
\n\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n\n","\n
\n
\n \n
\n
\n\n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=51aa9db3&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=51aa9db3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-51aa9db3\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity?
\n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable.
\n Otherwise, the entity will simply be created again upon the next scan.\n \n\n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./EnumSwitch.vue?vue&type=template&id=3404ecf7&scoped=true\"\nimport script from \"./EnumSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./EnumSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./EnumSwitch.vue?vue&type=style&index=0&id=3404ecf7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3404ecf7\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIconNormalized","name","components","Icon","props","type","Boolean","default","entity","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","this","meta","keys","length","color","entityType","charAt","toUpperCase","slice","__exports__","render","value","selected","collapsed","hasValues","values","prevent","setValue","ref","disabled","is_write_only","displayValues","text","value_id","key","EntityIcon","mixins","EntityMixin","Array","reduce","obj","methods","event","stopPropagation","target","$emit","self","setTimeout","$refs","request","id","action"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"static/js/3398-legacy.f60988fb.js","mappings":"+MAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,iEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAA+C,4BAAjC,EAAAC,yBAAsB,WALtC,E,2CAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAAA,EAAA,GACbC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAA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AKW,MAAMI,OAAOc,QAAO,SAACC,EAAKnB,GAEpC,OADAmB,EAAInB,GAASA,EACNmB,CACR,GAAE,CAAC,IAEC,UAAA9B,KAAKW,aAAL,eAAYI,SAAU,CAAC,CAChC,GAGFgB,QAAS,CACPf,QADO,SACCgB,GAEN,OADAA,EAAMC,mBACC,CACR,EAEKhB,SANC,SAMQe,GAAO,qKACfA,EAAME,OAAOvB,aADE,OACf,EAAoBR,OADL,wDAIpB,EAAKgC,MAAM,WAAW,GAClB,EAAKxB,MAAMS,gBACPgB,EAAO,EACbC,YAAW,WACPD,EAAKE,MAAMvB,OAAOJ,MAAQ,EAC7B,GAAE,MATe,kBAaZ,EAAK4B,QAAQ,mBAAoB,CACrCC,GAAI,EAAK7B,MAAM6B,GACfC,OAAQ,MACR9B,MAAOqB,EAAME,OAAOvB,QAhBJ,uBAmBlB,EAAKwB,MAAM,WAAW,GAnBJ,0EAqBrB,I,UCzFL,MAAM1B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/EnumSwitch.vue","webpack://platypush/./src/components/panels/Entities/EnumSwitch.vue?0a13"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./EnumSwitch.vue?vue&type=template&id=ba5c657c&scoped=true\"\nimport script from \"./EnumSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./EnumSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./EnumSwitch.vue?vue&type=style&index=0&id=ba5c657c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ba5c657c\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIconNormalized","name","components","Icon","props","type","Boolean","default","entity","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","this","meta","keys","length","color","entityType","charAt","toUpperCase","slice","__exports__","render","value","selected","collapsed","hasValues","values","prevent","setValue","ref","disabled","is_write_only","displayValues","text","value_id","key","EntityIcon","mixins","EntityMixin","Array","reduce","obj","methods","event","stopPropagation","target","$emit","self","setTimeout","$refs","request","id","action"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/3398.4f840e02.js b/platypush/backend/http/webapp/dist/static/js/3398.4f840e02.js
new file mode 100644
index 000000000..f9dc7161e
--- /dev/null
+++ b/platypush/backend/http/webapp/dist/static/js/3398.4f840e02.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3398,3459],{3459:function(e,t,l){l.r(t),l.d(t,{default:function(){return v}});var n=l(6252),a=l(3577),o=l(3540);const i={key:0,src:o,class:"loading"},s={key:1,class:"fas fa-circle-exclamation error"};function c(e,t,l,o,c,u){const r=(0,n.up)("Icon");return(0,n.wg)(),(0,n.iD)("div",{class:(0,a.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,a.j5)(u.colorFillStyle)},[l.loading?((0,n.wg)(),(0,n.iD)("img",i)):l.error?((0,n.wg)(),(0,n.iD)("i",s)):((0,n.wg)(),(0,n.j4)(r,(0,a.vs)((0,n.dG)({key:2},u.computedIconNormalized)),null,16))],6)}var u=l(1478),r={name:"EntityIcon",components:{Icon:u.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let e={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(e=this.icon),{...e}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const e={...this.computedIcon};return this.colorFill&&delete e.color,e},type(){let e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},d=l(3744);const p=(0,d.Z)(r,[["render",c],["__scopeId","data-v-4fad24e6"]]);var v=p},3398:function(e,t,l){l.r(t),l.d(t,{default:function(){return C}});var n=l(6252),a=l(3577),o=l(9963);const i={class:"entity switch-container"},s={class:"col-1 icon"},c={class:"col-s-8 col-m-9 label"},u=["textContent"],r={class:"col-s-3 col-m-2 buttons pull-right"},d=["textContent"],p={class:"row"},v={class:"input"},h=["disabled"],y={key:0,value:"",selected:""},g=["value","selected","textContent"];function f(e,t,l,f,m,w){const k=(0,n.up)("EntityIcon");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",{class:(0,a.C_)(["head",{collapsed:e.collapsed}])},[(0,n._)("div",s,[(0,n.Wm)(k,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,n._)("div",c,[(0,n._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,u)]),(0,n._)("div",r,[w.hasValues?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)((t=>e.collapsed=!e.collapsed),["stop"]))},[(0,n._)("i",{class:(0,a.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)])):(0,n.kq)("",!0),null!=e.value?.value?((0,n.wg)(),(0,n.iD)("span",{key:1,class:"value",textContent:(0,a.zw)(e.value.values[e.value.value]||e.value.value)},null,8,d)):(0,n.kq)("",!0)])],2),e.collapsed?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",{key:0,class:"body",onClick:t[2]||(t[2]=(0,o.iM)(((...e)=>w.prevent&&w.prevent(...e)),["stop"]))},[(0,n._)("div",p,[(0,n._)("div",v,[(0,n._)("select",{onInput:t[1]||(t[1]=(...e)=>w.setValue&&w.setValue(...e)),ref:"values",disabled:e.loading},[e.value.is_write_only?((0,n.wg)(),(0,n.iD)("option",y,"--")):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(w.displayValues,((t,l)=>((0,n.wg)(),(0,n.iD)("option",{value:l,selected:l==e.value.value,key:l,textContent:(0,a.zw)(t)},null,8,g)))),128))],40,h)])])]))])}var m=l(7909),w=l(3459),k={name:"EnumSwitch",components:{EntityIcon:w["default"]},mixins:[m["default"]],computed:{hasValues(){return!!Object.values(this?.value?.values||{}).length},displayValues(){return this.value?.values instanceof Array?this.value.values.reduce(((e,t)=>(e[t]=t,e)),{}):this.value?.values||{}}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){if(this.$emit("loading",!0),this.value.is_write_only){const e=this;setTimeout((()=>{e.$refs.values.value=""}),1e3)}try{await this.request("entities.execute",{id:this.value.id,action:"set",value:e.target.value})}finally{this.$emit("loading",!1)}}}}},_=l(3744);const b=(0,_.Z)(k,[["render",f],["__scopeId","data-v-ba5c657c"]]);var C=b},3540:function(e,t,l){e.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
+//# sourceMappingURL=3398.4f840e02.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/1897.d577146b.js.map b/platypush/backend/http/webapp/dist/static/js/3398.4f840e02.js.map
similarity index 78%
rename from platypush/backend/http/webapp/dist/static/js/1897.d577146b.js.map
rename to platypush/backend/http/webapp/dist/static/js/3398.4f840e02.js.map
index cd1a72361..55b61ddc5 100644
--- a/platypush/backend/http/webapp/dist/static/js/1897.d577146b.js.map
+++ b/platypush/backend/http/webapp/dist/static/js/3398.4f840e02.js.map
@@ -1 +1 @@
-{"version":3,"file":"static/js/1897.d577146b.js","mappings":"qNAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,mEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAA+C,4BAAjC,EAAAC,yBAAsB,WALtC,E,eAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAI,KACjBC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,OAAQ,CACNH,KAAMI,OACNC,UAAU,GAGZC,KAAM,CACJN,KAAMI,OACNF,QAAS,QAGXK,aAAc,CACZP,KAAMC,QACNC,SAAS,IAIbM,OACE,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRC,eACE,IAAIN,EAAO,IAAKO,KAAKV,QAAQW,MAAMR,MAAQ,CAAC,GAG5C,OAFIF,OAAOW,KAAKF,KAAKP,MAAQ,CAAC,GAAGU,SAC/BV,EAAOO,KAAKP,MACP,IAAIA,EACZ,EAEDhB,YACE,OAAOuB,KAAKN,cAAgBM,KAAKD,aAAaK,KAC/C,EAEDzB,iBACE,OAAOqB,KAAKvB,YAAcuB,KAAKnB,MAAQ,CAAC,WAAcmB,KAAKvB,WAAa,CAAC,CAC1E,EAEDK,yBACE,MAAM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AAK,oBAAE,EAAAC,UAAA,EAAAA,YAAA,IAAUC,IAAI,SAAUC,SAAU,EAAAvC,SAAlD,CACyB,EAAA+B,MAAMS,gBAAA,WAA7B,QAAgE,SAAhE,EAAqD,QAArD,8BACA,QAME,mBAFyB,EAAAC,eAAa,CAA/BC,EAAMC,M,WAJf,QAME,UALCZ,MAAOY,EACPX,SAAUW,GAAY,EAAAZ,MAAMA,MAC5Ba,IAAKD,E,aAEN,QAAY,IALd,oBAFF,c,yBAoBV,GACExC,KAAM,aACNC,WAAY,CAACyC,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAET7B,SAAU,CACRgB,YACE,QAASvB,OAAOwB,OAAOf,MAAMW,OAAOI,QAAU,CAAC,GAAGZ,MACnD,EAEDkB,gBACE,OAAIrB,KAAKW,OAAOI,kBAAkBa,MACzB5B,KAAKW,MAAMI,OAAOc,QAAO,CAACC,EAAKnB,KACpCmB,EAAInB,GAASA,EACNmB,IACN,CAAC,GAEC9B,KAAKW,OAAOI,QAAU,CAAC,CAChC,GAGFgB,QAAS,CACPf,QAAQgB,GAEN,OADAA,EAAMC,mBACC,CACR,EAEDC,eAAeF,GACb,GAAKA,EAAMG,OAAOxB,OAAOR,OAAzB,CAIA,GADAH,KAAKoC,MAAM,WAAW,GAClBpC,KAAKW,MAAMS,cAAe,CAC5B,MAAMiB,EAAOrC,KACbsC,YAAW,KACPD,EAAKE,MAAMxB,OAAOJ,MAAQ,EAA1B,GACD,IACL,CAEA,UACQX,KAAKwC,QAAQ,mBAAoB,CACrCC,GAAIzC,KAAKW,MAAM8B,GACfC,OAAQ,YACR/C,KAAMqC,EAAMG,OAAOxB,OAIvB,CARA,QAOEX,KAAKoC,MAAM,WAAW,EACxB,CAlBQ,CAmBT,I,UCzFL,MAAM3B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/EnumSwitch.vue","webpack://platypush/./src/components/panels/Entities/EnumSwitch.vue?0a13"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./EnumSwitch.vue?vue&type=template&id=3404ecf7&scoped=true\"\nimport script from \"./EnumSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./EnumSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./EnumSwitch.vue?vue&type=style&index=0&id=3404ecf7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3404ecf7\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIconNormalized","name","components","Icon","props","type","Boolean","default","entity","Object","required","icon","hasColorFill","data","component","modalVisible","computed","computedIcon","this","meta","keys","length","color","entityType","charAt","toUpperCase","slice","__exports__","render","value","selected","collapsed","hasValues","values","prevent","setValue","ref","disabled","is_write_only","displayValues","text","value_id","key","EntityIcon","mixins","EntityMixin","Array","reduce","obj","methods","event","stopPropagation","async","target","$emit","self","setTimeout","$refs","request","id","action"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"static/js/3398.4f840e02.js","mappings":"qNAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,mEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAA+C,4BAAjC,EAAAC,yBAAsB,WALtC,E,eAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAI,KACjBC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,OAAQ,CACNH,KAAMI,OACNC,UAAU,GAGZC,KAAM,CACJN,KAAMI,OACNF,QAAS,QAGXK,aAAc,CACZP,KAAMC,QACNC,SAAS,IAIbM,OACE,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRC,eACE,IAAIN,EAAO,IAAKO,KAAKV,QAAQW,MAAMR,MAAQ,CAAC,GAG5C,OAFIF,OAAOW,KAAKF,KAAKP,MAAQ,CAAC,GAAGU,SAC/BV,EAAOO,KAAKP,MACP,IAAIA,EACZ,EAEDhB,YACE,OAAOuB,KAAKN,cAAgBM,KAAKD,aAAaK,KAC/C,EAEDzB,iBACE,OAAOqB,KAAKvB,YAAcuB,KAAKnB,MAAQ,CAAC,WAAcmB,KAAKvB,WAAa,CAAC,CAC1E,EAEDK,yBACE,MAAMW,EAAO,IAAIO,KAAKD,cAGtB,OAFIC,KAAKvB,kBACAgB,EAAKW,MACPX,CACR,EAEDN,OACE,IAAIkB,EAAcL,KAAKV,OAAOH,MAAQ,GACtC,OAAOkB,EAAWC,OAAO,GAAGC,cAAgBF,EAAWG,MAAM,EAC9D,I,UCrEL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAA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,MAAMA,MAC5Ba,IAAKD,E,aAEN,QAAY,IALd,oBAFF,c,yBAoBV,GACExC,KAAM,aACNC,WAAY,CAACyC,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAET7B,SAAU,CACRgB,YACE,QAASvB,OAAOwB,OAAOf,MAAMW,OAAOI,QAAU,CAAC,GAAGZ,MACnD,EAEDkB,gBACE,OAAIrB,KAAKW,OAAOI,kBAAkBa,MACzB5B,KAAKW,MAAMI,OAAOc,QAAO,CAACC,EAAKnB,KACpCmB,EAAInB,GAASA,EACNmB,IACN,CAAC,GAEC9B,KAAKW,OAAOI,QAAU,CAAC,CAChC,GAGFgB,QAAS,CACPf,QAAQgB,GAEN,OADAA,EAAMC,mBACC,CACR,EAEDC,eAAeF,GACb,GAAKA,EAAMG,OAAOxB,OAAOR,OAAzB,CAIA,GADAH,KAAKoC,MAAM,WAAW,GAClBpC,KAAKW,MAAMS,cAAe,CAC5B,MAAMiB,EAAOrC,KACbsC,YAAW,KACPD,EAAKE,MAAMxB,OAAOJ,MAAQ,EAA1B,GACD,IACL,CAEA,UACQX,KAAKwC,QAAQ,mBAAoB,CACrCC,GAAIzC,KAAKW,MAAM8B,GACfC,OAAQ,MACR/B,MAAOqB,EAAMG,OAAOxB,OAIxB,CARA,QAOEX,KAAKoC,MAAM,WAAW,EACxB,CAlBQ,CAmBT,I,UCzFL,MAAM3B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/EnumSwitch.vue","webpack://platypush/./src/components/panels/Entities/EnumSwitch.vue?0a13"],"sourcesContent":["\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__","\n
\n\n\n\n\n\n","import { render } from \"./Dimmer.vue?vue&type=template&id=1326fda0&scoped=true\"\nimport script from \"./Dimmer.vue?vue&type=script&lang=js\"\nexport * from \"./Dimmer.vue?vue&type=script&lang=js\"\n\nimport \"./Dimmer.vue?vue&type=style&index=0&id=1326fda0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1326fda0\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__"],"names":["class","ref","withRange","withLabel","type","min","range","max","step","disabled","value","onUpdate","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","track","width","mounted","$watch","newValue","__exports__","render","collapsed","entity","loading","error","parsedValue","prevent","setValue","components","Slider","EntityIcon","mixins","EntityMixin","computed","is_write_only","unit","stopPropagation","length","request","id","action","data","src","colorFill","colorFillStyle","computedIconNormalized","Icon","Object","required","icon","hasColorFill","component","modalVisible","computedIcon","meta","keys","color","entityType","charAt","toUpperCase","slice"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"static/js/3593-legacy.0d1a3580.js","mappings":"4LACSA,MAAM,kB,uCAMLA,MAAM,oB,6CAcHA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAtB3B,QAyBQ,QAzBR,EAyBQ,CAxB8D,EAAAC,YAAA,WAApE,QAGO,Q,MAHDF,OAAK,SAAC,eAAc,cAAwB,EAAAG,cAAlD,CACiC,EAAAD,YAAA,WAA/B,QAA8D,Q,MAAxDF,MAAM,a,aAA8B,QAAiB,EAAJ,WAAvD,2BACgC,EAAAE,YAAA,WAAhC,QAA+D,Q,MAAzDF,MAAM,c,aAA+B,QAAiB,EAAJ,WAAxD,4BAFF,qBAKA,OAkBO,OAlBP,EAkBO,EAjBL,OAU+B,SAVxBA,OAAK,SAAC,SAAQ,cAES,EAAAG,aADvBC,KAAK,QAEJC,IAAK,EAAAC,MAAK,GACVC,IAAK,EAAAD,MAAK,GACVE,KAAM,EAAAA,KACNC,SAAU,EAAAA,SACVC,MAAO,EAAAA,MACRT,IAAI,QACH,QAAK,wCAAO,EAAAU,UAAA,EAAAA,SAAA,kBAAP,GAAe,WACpB,SAAM,wCAAO,EAAAA,UAAA,EAAAA,SAAA,kBAAP,GAAe,YAV7B,YAYA,OAEM,OAFDX,OAAK,SAAC,QAAO,cAAwB,EAAAG,cAA1C,EACE,OAA2C,MAA3C,EAA2C,WAD7C,IAGA,OAAqC,MAArC,EAAqC,UACX,EAAAA,YAAA,WAA1B,QAAuE,Q,MAAjEH,MAAM,Q,aAAyB,QAAc,EAAD,OAAEC,IAAI,SAAxD,8B,eAMN,G,QAAA,CACEW,KAAM,SACNC,MAAO,CAAC,QAAS,SAAU,UAAW,YAAa,aAAc,WAAY,QAAS,WACtFC,M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O,CACLxC,KAAMY,QACNC,SAAS,GAGXyB,OAAQ,CACNtC,KAAM8D,OACNC,UAAU,GAGZC,KAAM,CACJhE,KAAM8D,OACNjD,QAAS,WAAQ,GAGnBoD,aAAc,CACZjE,KAAMY,QACNC,SAAS,IAIbqD,KA9Ba,WA+BX,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDnB,SAAU,CACRoB,aADQ,WACO,QACTL,GAAG,WAAS,UAAA/C,KAAKqB,cAAL,mBAAagC,YAAb,eAAmBN,OAAQ,CAAC,GAG5C,OAFIF,OAAOS,KAAKtD,KAAK+C,MAAQ,CAAC,GAAGX,SAC/BW,EAAO/C,KAAK+C,OACd,UAAWA,EACZ,EAEDN,UARQ,WASN,OAAOzC,KAAKgD,cAAgBhD,KAAKoD,aAAaG,KAC/C,EAEDb,eAZQ,WAaN,OAAO1C,KAAKyC,YAAczC,KAAKuB,MAAQ,CAAC,WAAcvB,KAAKyC,WAAa,CAAC,CAC1E,EAEDE,uBAhBQ,WAiBN,IAAMI,GAAG,UAAQ/C,KAAKoD,cAGtB,OAFIpD,KAAKyC,kBACAM,EAAKQ,MACPR,CACR,EAEDhE,KAvBQ,WAwBN,IAAIyE,EAAcxD,KAAKqB,OAAOtC,MAAQ,GACtC,OAAOyE,EAAWC,OAAO,GAAGC,cAAgBF,EAAWG,MAAM,EAC9D,I,UCrEL,MAAMzC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/panels/Entities/Dimmer.vue","webpack://platypush/./src/components/panels/Entities/Dimmer.vue?5b8c","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=28d31846&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=28d31846&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28d31846\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Dimmer.vue?vue&type=template&id=915be50e&scoped=true\"\nimport script from \"./Dimmer.vue?vue&type=script&lang=js\"\nexport * from \"./Dimmer.vue?vue&type=script&lang=js\"\n\nimport \"./Dimmer.vue?vue&type=style&index=0&id=915be50e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-915be50e\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__"],"names":["class","ref","withRange","withLabel","type","min","range","max","step","disabled","value","onUpdate","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","track","width","mounted","$watch","newValue","__exports__","render","collapsed","entity","loading","error","parsedValue","prevent","setValue","components","Slider","EntityIcon","mixins","EntityMixin","computed","is_write_only","unit","stopPropagation","length","request","id","action","src","colorFill","colorFillStyle","computedIconNormalized","Icon","Object","required","icon","hasColorFill","data","component","modalVisible","computedIcon","meta","keys","color","entityType","charAt","toUpperCase","slice"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/5775.ce2701b0.js b/platypush/backend/http/webapp/dist/static/js/3593.e56e04e9.js
similarity index 72%
rename from platypush/backend/http/webapp/dist/static/js/5775.ce2701b0.js
rename to platypush/backend/http/webapp/dist/static/js/3593.e56e04e9.js
index 3e84ffdea..f1f233602 100644
--- a/platypush/backend/http/webapp/dist/static/js/5775.ce2701b0.js
+++ b/platypush/backend/http/webapp/dist/static/js/3593.e56e04e9.js
@@ -1,2 +1,2 @@
-"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5775,3459],{1583:function(e,t,l){l.d(t,{Z:function(){return f}});var a=l(6252),n=l(3577),i=l(9963);const s={class:"slider-wrapper"},o=["textContent"],r=["textContent"],u={class:"slider-container"},c=["min","max","step","disabled","value"],d={class:"track-inner",ref:"track"},p={class:"thumb",ref:"thumb"},h=["textContent"];function v(e,t,l,v,g,m){return(0,a.wg)(),(0,a.iD)("label",s,[l.withRange?((0,a.wg)(),(0,a.iD)("span",{key:0,class:(0,n.C_)(["range-labels",{"with-label":l.withLabel}])},[l.withRange?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label left",textContent:(0,n.zw)(l.range[0])},null,8,o)):(0,a.kq)("",!0),l.withRange?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"label right",textContent:(0,n.zw)(l.range[1])},null,8,r)):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0),(0,a._)("span",u,[(0,a._)("input",{class:(0,n.C_)(["slider",{"with-label":l.withLabel}]),type:"range",min:l.range[0],max:l.range[1],step:l.step,disabled:l.disabled,value:l.value,ref:"range",onInput:t[0]||(t[0]=(0,i.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,42,c),(0,a._)("div",{class:(0,n.C_)(["track",{"with-label":l.withLabel}])},[(0,a._)("div",d,null,512)],2),(0,a._)("div",p,null,512),l.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(l.value),ref:"label"},null,8,h)):(0,a.kq)("",!0)])])}var g={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1},withRange:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=this.$refs.range.clientWidth,l=(e-this.range[0])/(this.range[1]-this.range[0]),a=l*t,n=this.$refs.thumb;n.style.left=a-n.clientWidth/2+"px",this.$refs.thumb.style.transform=`translate(-${l}%, -50%)`,this.$refs.track.style.width=`${a}px`}},mounted(){null!=this.value&&this.update(this.value),this.$watch((()=>this.value),(e=>this.update(e)))}},m=l(3744);const y=(0,m.Z)(g,[["render",v],["__scopeId","data-v-28d31846"]]);var f=y},5775:function(e,t,l){l.r(t),l.d(t,{default:function(){return $}});var a=l(6252),n=l(3577),i=l(9963);const s={class:"entity dimmer-container"},o={class:"col-1 icon"},r={class:"col-s-7 col-m-8 label"},u=["textContent"],c={class:"col-s-4 col-m-3 buttons pull-right"},d=["textContent"],p={class:"row"},h={key:0,class:"input"},v={class:"col-10"},g={class:"col-2 value"},m=["value"],y={key:1,class:"input"},f={class:"col-12 value"},w=["value"];function b(e,t,l,b,_,k){const C=(0,a.up)("EntityIcon"),x=(0,a.up)("Slider");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a._)("div",{class:(0,n.C_)(["head",{collapsed:e.collapsed}])},[(0,a._)("div",o,[(0,a.Wm)(C,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,n.zw)(e.value.name)},null,8,u)]),(0,a._)("div",c,[(0,a._)("button",{onClick:t[0]||(t[0]=(0,i.iM)((t=>e.collapsed=!e.collapsed),["stop"]))},[(0,a._)("i",{class:(0,n.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)]),null!=k.parsedValue?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"value-percent",textContent:(0,n.zw)(k.parsedValue)},null,8,d)):(0,a.kq)("",!0)])],2),e.collapsed?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:0,class:"body",onClick:t[3]||(t[3]=(0,i.iM)(((...e)=>k.prevent&&k.prevent(...e)),["stop"]))},[(0,a._)("div",p,[null!=e.value?.min&&null!=e.value?.max?((0,a.wg)(),(0,a.iD)("div",h,[(0,a._)("div",v,[(0,a.Wm)(x,{range:[e.value.min,e.value.max],"with-range":"",value:e.value.value,onInput:k.setValue},null,8,["range","value","onInput"])]),(0,a._)("div",g,[(0,a._)("input",{type:"number",value:e.value.value,onChange:t[1]||(t[1]=(...e)=>k.setValue&&k.setValue(...e))},null,40,m)])])):((0,a.wg)(),(0,a.iD)("div",y,[(0,a._)("div",f,[(0,a._)("input",{type:"number",value:e.value.value,onChange:t[2]||(t[2]=(...e)=>k.setValue&&k.setValue(...e))},null,40,w)])]))])]))])}var _=l(1583),k=l(7909),C=l(3459),x={name:"Dimmer",components:{Slider:_.Z,EntityIcon:C["default"]},mixins:[k["default"]],computed:{parsedValue(){if(this.value?.is_write_only||null==this.value?.value)return null;let e=this.value.value;return this.value.unit&&(e=`${e} ${this.value.unit}`),e}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){this.$emit("loading",!0);try{await this.request("entities.execute",{id:this.value.id,action:"set_value",data:+e.target.value})}finally{this.$emit("loading",!1)}}}}},I=l(3744);const D=(0,I.Z)(x,[["render",b],["__scopeId","data-v-1326fda0"]]);var $=D},3459:function(e,t,l){l.r(t),l.d(t,{default:function(){return h}});var a=l(6252),n=l(3577),i=l(3540);const s={key:0,src:i,class:"loading"},o={key:1,class:"fas fa-circle-exclamation error"};function r(e,t,l,i,r,u){const c=(0,a.up)("Icon");return(0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,n.j5)(u.colorFillStyle)},[l.loading?((0,a.wg)(),(0,a.iD)("img",s)):l.error?((0,a.wg)(),(0,a.iD)("i",o)):((0,a.wg)(),(0,a.j4)(c,(0,n.vs)((0,a.dG)({key:2},u.computedIconNormalized)),null,16))],6)}var u=l(1478),c={name:"EntityIcon",components:{Icon:u.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let e={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(e=this.icon),{...e}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const e={...this.computedIcon};return this.colorFill&&delete e.color,e},type(){let e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},d=l(3744);const p=(0,d.Z)(c,[["render",r],["__scopeId","data-v-4fad24e6"]]);var h=p},3540:function(e,t,l){e.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
-//# sourceMappingURL=5775.ce2701b0.js.map
\ No newline at end of file
+"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3593,3459],{1583:function(e,t,l){l.d(t,{Z:function(){return f}});var a=l(6252),n=l(3577),i=l(9963);const s={class:"slider-wrapper"},o=["textContent"],r=["textContent"],u={class:"slider-container"},c=["min","max","step","disabled","value"],d={class:"track-inner",ref:"track"},p={class:"thumb",ref:"thumb"},h=["textContent"];function v(e,t,l,v,g,m){return(0,a.wg)(),(0,a.iD)("label",s,[l.withRange?((0,a.wg)(),(0,a.iD)("span",{key:0,class:(0,n.C_)(["range-labels",{"with-label":l.withLabel}])},[l.withRange?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label left",textContent:(0,n.zw)(l.range[0])},null,8,o)):(0,a.kq)("",!0),l.withRange?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"label right",textContent:(0,n.zw)(l.range[1])},null,8,r)):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0),(0,a._)("span",u,[(0,a._)("input",{class:(0,n.C_)(["slider",{"with-label":l.withLabel}]),type:"range",min:l.range[0],max:l.range[1],step:l.step,disabled:l.disabled,value:l.value,ref:"range",onInput:t[0]||(t[0]=(0,i.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,42,c),(0,a._)("div",{class:(0,n.C_)(["track",{"with-label":l.withLabel}])},[(0,a._)("div",d,null,512)],2),(0,a._)("div",p,null,512),l.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(l.value),ref:"label"},null,8,h)):(0,a.kq)("",!0)])])}var g={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1},withRange:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=this.$refs.range.clientWidth,l=(e-this.range[0])/(this.range[1]-this.range[0]),a=l*t,n=this.$refs.thumb;n.style.left=a-n.clientWidth/2+"px",this.$refs.thumb.style.transform=`translate(-${l}%, -50%)`,this.$refs.track.style.width=`${a}px`}},mounted(){null!=this.value&&this.update(this.value),this.$watch((()=>this.value),(e=>this.update(e)))}},m=l(3744);const y=(0,m.Z)(g,[["render",v],["__scopeId","data-v-28d31846"]]);var f=y},3593:function(e,t,l){l.r(t),l.d(t,{default:function(){return $}});var a=l(6252),n=l(3577),i=l(9963);const s={class:"entity dimmer-container"},o={class:"col-1 icon"},r={class:"col-s-7 col-m-8 label"},u=["textContent"],c={class:"col-s-4 col-m-3 buttons pull-right"},d=["textContent"],p={class:"row"},h={key:0,class:"input"},v={class:"col-10"},g={class:"col-2 value"},m=["value"],y={key:1,class:"input"},f={class:"col-12 value"},w=["value"];function b(e,t,l,b,_,k){const C=(0,a.up)("EntityIcon"),x=(0,a.up)("Slider");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a._)("div",{class:(0,n.C_)(["head",{collapsed:e.collapsed}])},[(0,a._)("div",o,[(0,a.Wm)(C,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,n.zw)(e.value.name)},null,8,u)]),(0,a._)("div",c,[(0,a._)("button",{onClick:t[0]||(t[0]=(0,i.iM)((t=>e.collapsed=!e.collapsed),["stop"]))},[(0,a._)("i",{class:(0,n.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)]),null!=k.parsedValue?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"value-percent",textContent:(0,n.zw)(k.parsedValue)},null,8,d)):(0,a.kq)("",!0)])],2),e.collapsed?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:0,class:"body",onClick:t[3]||(t[3]=(0,i.iM)(((...e)=>k.prevent&&k.prevent(...e)),["stop"]))},[(0,a._)("div",p,[null!=e.value?.min&&null!=e.value?.max?((0,a.wg)(),(0,a.iD)("div",h,[(0,a._)("div",v,[(0,a.Wm)(x,{range:[e.value.min,e.value.max],"with-range":"",value:e.value.value,onInput:k.setValue},null,8,["range","value","onInput"])]),(0,a._)("div",g,[(0,a._)("input",{type:"number",value:e.value.value,onChange:t[1]||(t[1]=(...e)=>k.setValue&&k.setValue(...e))},null,40,m)])])):((0,a.wg)(),(0,a.iD)("div",y,[(0,a._)("div",f,[(0,a._)("input",{type:"number",value:e.value.value,onChange:t[2]||(t[2]=(...e)=>k.setValue&&k.setValue(...e))},null,40,w)])]))])]))])}var _=l(1583),k=l(7909),C=l(3459),x={name:"Dimmer",components:{Slider:_.Z,EntityIcon:C["default"]},mixins:[k["default"]],computed:{parsedValue(){if(this.value?.is_write_only||null==this.value?.value)return null;let e=this.value.value;return this.value.unit&&(e=`${e} ${this.value.unit}`),e}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){this.$emit("loading",!0);try{await this.request("entities.execute",{id:this.value.id,action:"set",value:+e.target.value})}finally{this.$emit("loading",!1)}}}}},I=l(3744);const D=(0,I.Z)(x,[["render",b],["__scopeId","data-v-915be50e"]]);var $=D},3459:function(e,t,l){l.r(t),l.d(t,{default:function(){return h}});var a=l(6252),n=l(3577),i=l(3540);const s={key:0,src:i,class:"loading"},o={key:1,class:"fas fa-circle-exclamation error"};function r(e,t,l,i,r,u){const c=(0,a.up)("Icon");return(0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,n.j5)(u.colorFillStyle)},[l.loading?((0,a.wg)(),(0,a.iD)("img",s)):l.error?((0,a.wg)(),(0,a.iD)("i",o)):((0,a.wg)(),(0,a.j4)(c,(0,n.vs)((0,a.dG)({key:2},u.computedIconNormalized)),null,16))],6)}var u=l(1478),c={name:"EntityIcon",components:{Icon:u.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let e={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(e=this.icon),{...e}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const e={...this.computedIcon};return this.colorFill&&delete e.color,e},type(){let e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},d=l(3744);const p=(0,d.Z)(c,[["render",r],["__scopeId","data-v-4fad24e6"]]);var h=p},3540:function(e,t,l){e.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
+//# sourceMappingURL=3593.e56e04e9.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/5775.ce2701b0.js.map b/platypush/backend/http/webapp/dist/static/js/3593.e56e04e9.js.map
similarity index 63%
rename from platypush/backend/http/webapp/dist/static/js/5775.ce2701b0.js.map
rename to platypush/backend/http/webapp/dist/static/js/3593.e56e04e9.js.map
index e559bd615..3bde14875 100644
--- a/platypush/backend/http/webapp/dist/static/js/5775.ce2701b0.js.map
+++ b/platypush/backend/http/webapp/dist/static/js/3593.e56e04e9.js.map
@@ -1 +1 @@
-{"version":3,"file":"static/js/5775.ce2701b0.js","mappings":"kMACSA,MAAM,kB,uCAMLA,MAAM,oB,6CAcHA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAtB3B,QAyBQ,QAzBR,EAyBQ,CAxB8D,EAAAC,YAAA,WAApE,QAGO,Q,MAHDF,OAAK,SAAC,eAAc,cAAwB,EAAAG,cAAlD,CACiC,EAAAD,YAAA,WAA/B,QAA8D,Q,MAAxDF,MAAM,a,aAA8B,QAAiB,EAAJ,WAAvD,2BACgC,EAAAE,YAAA,WAAhC,QAA+D,Q,MAAzDF,MAAM,c,aAA+B,QAAiB,EAAJ,WAAxD,4BAFF,qBAKA,OAkBO,OAlBP,EAkBO,EAj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zF,O","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/panels/Entities/Dimmer.vue","webpack://platypush/./src/components/panels/Entities/Dimmer.vue?5b8c","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=28d31846&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=28d31846&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28d31846\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Dimmer.vue?vue&type=template&id=1326fda0&scoped=true\"\nimport script from \"./Dimmer.vue?vue&type=script&lang=js\"\nexport * from \"./Dimmer.vue?vue&type=script&lang=js\"\n\nimport \"./Dimmer.vue?vue&type=style&index=0&id=1326fda0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1326fda0\"]])\n\nexport default __exports__","\n
\n \n \n \n
\n\n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=4fad24e6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4fad24e6\"]])\n\nexport default __exports__"],"names":["class","ref","withRange","withLabel","type","min","range","max","step","disabled","value","onUpdate","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","sliderWidth","clientWidth","percent","innerWidth","thumb","style","left","transform","track","width","mounted","$watch","newValue","__exports__","render","collapsed","entity","loading","error","parsedValue","prevent","setValue","components","Slider","EntityIcon","mixins","EntityMixin","computed","is_write_only","unit","stopPropagation","async","length","request","id","action","data","src","colorFill","colorFillStyle","computedIconNormalized","Icon","Object","required","icon","hasColorFill","component","modalVisible","computedIcon","meta","keys","color","entityType","charAt","toUpperCase","slice"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"static/js/3593.e56e04e9.js","mappings":"kMACSA,MAAM,kB,uCAMLA,MAAM,oB,6CAcHA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAtB3B,QAyBQ,QAzBR,EAyBQ,CAxB8D,EAAAC,YAAA,WAApE,QAGO,Q,MAHDF,OAAK,SAAC,eAAc,cAAwB,EAAAG,cAAlD,CACiC,EAAAD,YAAA,WAA/B,QAA8D,Q,MAAxDF,MAAM,a,aAA8B,QAAiB,EAAJ,WAAvD,2BACgC,EAAAE,YAAA,WAAhC,QAA+D,Q,MAAzDF,MAAM,c,aAA+B,QAAiB,EAAJ,WAAxD,4BAFF,qBAKA,OAkBO,OAlBP,EAkBO,EAjBL,OAU+B,SAVxBA,OAAK,SAAC,SAAQ,cAES,EAAAG,aADvBC,KAAK,QAEJC,IAAK,EAAAC,MAAK,GACVC,IAAK,EAAAD,MAAK,GACVE,KAAM,EAAAA,KACNC,SAAU,EAAAA,SACVC,MAAO,EAAAA,MACRT,I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AnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAA+C,4BAAjC,EAAAqB,yBAAsB,WALtC,E,eAYF,GACErD,KAAM,aACNoC,WAAY,CAACkB,KAAI,KACjBpD,MAAO,CACL6B,QAAS,CACPvC,KAAMY,QACNC,SAAS,GAGX2B,MAAO,CACLxC,KAAMY,QACNC,SAAS,GAGXyB,OAAQ,CACNtC,KAAM+D,OACNC,UAAU,GAGZC,KAAM,CACJjE,KAAM+D,OACNlD,QAAS,QAGXqD,aAAc,CACZlE,KAAMY,QACNC,SAAS,IAIbsD,OACE,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDpB,SAAU,CACRqB,eACE,IAAIL,EAAO,IAAKhD,KAAKqB,QAAQiC,MAAMN,MAAQ,CAAC,GAG5C,OAFIF,OAAOS,KAAKvD,KAAKgD,MAAQ,CAAC,GAAGX,SAC/BW,EAAOhD,KAAKgD,MACP,IAAIA,EACZ,EAEDN,YACE,OAAO1C,KAAKiD,cAAgBjD,KAAKqD,aAAaG,KAC/C,EAEDb,iBACE,OAAO3C,KAAK0C,YAAc1C,KAAKuB,MAAQ,CAAC,WAAcvB,KAAK0C,WAAa,CAAC,CAC1E,EAEDE,yBACE,MAAMI,EAAO,IAAIhD,KAAKqD,cAGtB,OAFIrD,KAAK0C,kBACAM,EAAKQ,MACPR,CACR,EAEDjE,OACE,IAAI0E,EAAczD,KAAKqB,OAAOtC,MAAQ,GACtC,OAAO0E,EAAWC,OAAO,GAAGC,cAAgBF,EAAWG,MAAM,EAC9D,I,UCrEL,MAAM1C,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/panels/Entities/Dimmer.vue","webpack://platypush/./src/components/panels/Entities/Dimmer.vue?5b8c","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["\n \n\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=28d31846&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=28d31846&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-28d31846\"]])\n\nexport default __exports__","\n
\n
\n
\n \n
\n\n
\n \n
\n\n
\n \n \n
\n
\n\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n\n\n\n\n\n","import { render } from \"./Dimmer.vue?vue&type=template&id=915be50e&scoped=true\"\nimport script from \"./Dimmer.vue?vue&type=script&lang=js\"\nexport * from \"./Dimmer.vue?vue&type=script&lang=js\"\n\nimport \"./Dimmer.vue?vue&type=style&index=0&id=915be50e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-915be50e\"]])\n\nexport default __exports__","\n