{"_id":"node-red-contrib-ui-multistate-switch","_rev":"7-57e3e6a13b1dd33a75ba5ab00133f62b","name":"node-red-contrib-ui-multistate-switch","dist-tags":{"latest":"1.2.3","beta":"1.2.0-beta.1"},"versions":{"1.0.0":{"name":"node-red-contrib-ui-multistate-switch","version":"1.0.0","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"_resolved":"","_integrity":"","_from":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git","_id":"node-red-contrib-ui-multistate-switch@1.0.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-/Nv9A8CTk49KvJOQfmdwvQYcVcb9i+AodSxm5IYVgz5ewRLow2viyB1Ha4pqaZC5SpBSWnB749GqojGTSR/+Ug==","shasum":"f0f6a3f6d19776dc12f46983804d7d9477889315","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.0.0.tgz","fileCount":5,"unpackedSize":37769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLYoRCRA9TVsSAnZWagAA99oP/i9lhiUOaIp79Q8/q7Do\nvUofW0Ij43SfbBDXF+L/7p+3qU/5kbg2XGcuSBn2LoqbQQq4p2IF2fl13rs9\nFMDMdYjoX5+WU0LnCfwjpo0GHluoZIVhYBGJxsRGF0ecx/Z7Gvt0nKc5DlJU\nUohYf6m+sF1IQFxwmOYYHA49SvX3bgwmy1ew7t4zuacb7/mo2Zq3upj/IHcQ\nmkBVPyYcybZKty7egffmKHVdqptDi+YLgPnc/qWGKXnNCAjqRMvffuc6kj18\ncDuGczO4XolVAuUjNxM13Gza06Rsl833jJJBZDwc3EbusKXDXU72X3giN/GH\ngWMDswI5/3b6uzUnyaEVKZUhOcH3/y7XPNkYqzQgPnMvqxMzq/vzKjCzv/tF\nriu1ehD9zyAAqi8HZ1/L+fwS2n5xHWmu3cgCG2ZCArnEtwZYlFaGEDybIK5U\njdmGk6xYOgalfwPkpLGmcst1VHp99gw6y83cywdJ1GRXXW6UqvYNk3h6L+be\n1fx14a0EWa/CxSva45fscEPKM+hMIbI8GTrLQAKB5vFGy8Ok26vm2QtehgHG\n0JNKznn+IwzESW7oAHdklxZcmTclCU6V13OJEwwxdoI8o9eW4RTrjdhfLv4E\nvuPjfow5dO7S2zsv+36vqPIq0Dnqohr87+S4e4clQ3ZWDliaUgI1vstbhOK5\nhfXH\r\n=+awO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0EUNc7eIBMJ9DPVjR93QBPxShUQhqyl2LHfDXML/m5AiANLCtG9N/eJBSV/j2ZohBphz57O0eqWcSBLvlldzpn1w=="}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.0.0_1613597200972_0.6683925312148404"},"_hasShrinkwrap":false},"1.1.0":{"name":"node-red-contrib-ui-multistate-switch","version":"1.1.0","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"_resolved":"","_integrity":"","_from":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git","_id":"node-red-contrib-ui-multistate-switch@1.1.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ch9GHmixXxhWNKm3hYeD4lnduXYzfWG11BULOJqi6mnYroZ3MiCoikJMG18ZG8+BG2Wp4TF6oOboV039QtWGnA==","shasum":"dad1a4a46a4f3a452ab8338dfe295466452776d3","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.1.0.tgz","fileCount":5,"unpackedSize":58535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQQ3bCRA9TVsSAnZWagAAeWAP/2lXMvzrqjJa3ihZ5z6q\nQb0eUY20gqIL/CjsPwlfD6FtJAPxQ9fw1z16DhKc4stc6Dfepsb9x2xLsFa1\nAtulTMot5X7wTlz1/ptQsNPG38vWerlnXVLVcmTC1tChy1kNBFUsWn9X1oT9\nxfpMbZlPm0dtX5wiq5oU3++JQNhRE91KUsTb8eidG0U0J9K+f3vHxufzP4eJ\nOYy8Y6sjO55RzvV9vGBO+uCoC/MujlqPkoVJkXm+xXKqYvfNxGNmwukHU2qG\nnfpceIE6yMeDaQ6TNgvtYqpcOkctrTAagpE3xyhBmlwUbzzG3NBTEIT39440\n0pXA9rTeWjFJprGF/TZhbfcMqrF++PGRx8/OV6VcnAKtcRpNiusARFY7qkz7\nxpKFpLyN0cAq03c24MdFj35iDiGRuqaiqdKnXwGUzmum99S7f7B+aYmFTTeu\nICBSIWwmoNfSSNRgN25/XxX/9fz0PtQnyZOBX9htGCu4XKslpRH4VoXNaDGR\nG431pGbTDlmtzIv84eLUAIfJoYR+AOJ9k0n5y6g8PP+t2W+lXXfrw4o0u+Sr\nat5IY57r1ySIq3XUmRZExZDx2pSQW+7QuC3UBRVvX90N5lxe/Hc4gS+EZcQf\nuIKvKt0kLEsZZTxjOLvQ4vjozsYJw2s7HsetFTpCqp6YJjFB/WJjYlaydr1z\nDUBN\r\n=zWFt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrIJ1nrWRaDh4jt4+0JSeuNHAXMcZHFJS9LoxhD0//bQIhANvh+rTpoUm97XrVkgdcUt4J5XZdd9Idl1Ht+5uqHX1G"}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.1.0_1614876122714_0.7880325948096856"},"_hasShrinkwrap":false},"1.2.0-beta.1":{"name":"node-red-contrib-ui-multistate-switch","version":"1.2.0-beta.1","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","dependencies":{"mustache":"^4.2.0"},"keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"gitHead":"b9abdf10d666787d41e8714c8d8d40abbd002256","readme":"# node-red-contrib-ui-multistate-switch\r\nA Node Red node to show a switch with multiple states in the Node-RED dashboard.\r\n\r\nAll credits for the CSS go to [hotnipi](https://github.com/hotNipi), my partner in crime for this node!\r\n\r\n## Install\r\nRun the following npm command in your Node-RED user directory (typically ~/.node-red):\r\n```\r\nnpm install node-red-contrib-ui-multistate-switch\r\n```\r\n\r\n## Node usage\r\nThis node allows to show a multi-state switch in a few steps:\r\n\r\n1. Specify in the config screen to use the theme colors, or otherwise specify a separate color for each option:\r\n\r\n   ![Config screen](https://user-images.githubusercontent.com/14224149/108424269-3d2d1880-7239-11eb-9b36-b125b8df632e.png)\r\n   \r\n   + The ***label*** is the text that will be displayed.\r\n   + The ***value*** will be the payload in the input and output messages.\r\n   + The ***color*** is the color of the options.\r\n\r\n2. These options will be displayed in the dashboard:\r\n\r\n   ![multi_switch_color_demo](https://user-images.githubusercontent.com/14224149/108424592-af056200-7239-11eb-9255-217b36a35576.gif)\r\n\r\n   As soon as a button is clicked, it's value will be send in the `msg.payload` of the output message.\r\n   \r\n 3. It is also possible to inject an input message, with the new value in the `msg.payload`.  The corresponding option will automatically be selected in the dashboard.\r\n\r\n## Node properties\r\n\r\n### Label\r\nThe label is the text which is displayed in front of the switch.\r\nNote that the label can contain Mustache syntax, in case the label needs to be changed dynamically via input messages.  See [this](https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/wiki/Dynamic-label-via-Mustache-expressions) wiki page for more information.\r\n\r\nExtra options:\r\n+ Via the *\"Appearance\"* option (see below), ***multi-line labels*** can be activated:\r\n\r\n   ![Multi-line label](https://user-images.githubusercontent.com/14224149/131564936-2b2de7fa-6292-433a-936f-48d0ebb70f98.png)\r\n\r\n+ When dealing with a long multi-line label, it might be useful to increase the ***height*** of this widget:\r\n\r\n   ![Height increased](https://user-images.githubusercontent.com/14224149/131565108-b86b3ec3-f2d3-4c97-9bc4-256f3928def9.png)\r\n\r\n+ It is also possible to show an ***icon*** inside the label.  See [this](https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/wiki/Displaying-icons-in-the-switch) wiki page for more information.\r\n\r\n### Appearance\r\nThe appearance determines the shape of the switch button, which allows you to have ***rounded corners***:\r\n\r\n![Appearance](https://user-images.githubusercontent.com/14224149/108561643-e4c04e80-72fe-11eb-88c3-3ea4af5256e6.png)\r\n\r\nFor advanced users, the following flow contains a Template node with a very simple CSS script to achieve the same result:\r\n```\r\n[{\"id\":\"11079fb1.5eebe\",\"type\":\"ui_template\",\"z\":\"2b6f5d19.202242\",\"group\":\"9f2da61.3353758\",\"name\":\"Dashboard CSS\",\"order\":2,\"width\":12,\"height\":1,\"format\":\"<style>\\n    .multistate-switch-wrapper{\\n        border-radius:15px;\\n    }\\n    .multistate-switch-slider{\\n        border-radius:15px;\\n    }\\n</style>\",\"storeOutMessages\":true,\"fwdInMessages\":true,\"resendOnRefresh\":true,\"templateScope\":\"global\",\"x\":460,\"y\":1960,\"wires\":[[]]},{\"id\":\"1730cdc0.2bad52\",\"type\":\"ui_multistate_switch\",\"z\":\"2b6f5d19.202242\",\"name\":\"\",\"group\":\"28a39865.fa3608\",\"order\":2,\"width\":\"9\",\"height\":0,\"label\":\"Thermostat\",\"options\":[{\"label\":\"Option 0\",\"value\":\"option_0\",\"valueType\":\"str\"},{\"label\":\"Option 1\",\"value\":\"option_1\",\"valueType\":\"str\"},{\"label\":\"Option 2\",\"value\":\"option_2\",\"valueType\":\"str\"}],\"x\":460,\"y\":1900,\"wires\":[[]]},{\"id\":\"9f2da61.3353758\",\"type\":\"ui_group\",\"name\":\"Flight\",\"tab\":\"d6d3c358.5fb46\",\"order\":1,\"disp\":true,\"width\":\"12\",\"collapse\":false},{\"id\":\"28a39865.fa3608\",\"type\":\"ui_group\",\"z\":\"\",\"name\":\"Default\",\"tab\":\"d8520920.0128d8\",\"order\":1,\"disp\":true,\"width\":\"9\",\"collapse\":false},{\"id\":\"d6d3c358.5fb46\",\"type\":\"ui_tab\",\"name\":\"Home\",\"icon\":\"dashboard\",\"order\":1,\"disabled\":false,\"hidden\":false},{\"id\":\"d8520920.0128d8\",\"type\":\"ui_tab\",\"name\":\"Home\",\"icon\":\"dashboard\",\"disabled\":false,\"hidden\":false}]\r\n```\r\n\r\n### Use theme colors\r\nWhen activated, the switch will be displayed in the current theme colors.  When not activated, it is possible to select a separate custom color for each option.\r\n\r\n![Theme colors](https://user-images.githubusercontent.com/14224149/108561941-60ba9680-72ff-11eb-9232-08549bd24172.png)\r\n\r\n### Hide label of selected option\r\nWhen activated, the label of the selected option will not be displayed:\r\n\r\n![Hide label](https://user-images.githubusercontent.com/14224149/108561285-42a06680-72fe-11eb-916e-4f8a49a26a61.png)\r\n\r\n### Passthrough\r\nSpecify whether input messages should be passed through as output messages:\r\n+ *Never*: The input messages will never be passed through as output messages.\r\n+ *Always*: The input messages will always be passed through as output messages.\r\n+ *If state changes*: The input messages will only be passed through, when they change the switch state.  Which means that messages containing successive duplicate states, won't be send to the output.\r\n\r\n### Input msg\r\nSpecify whether input messages should be accepted:\r\n+ *None*: The input messages will never be accepted.\r\n+ *All*: The input messages will always be accepted.\r\n\r\n### User input\r\nSpecify whether user input (i.e. click and touch events) should be accepted:\r\n+ *Disabled*: The user input will never be accepted.\r\n+ *Enabled and show*: The user input will be accepted, and the new state will be visualized (i.e. the switch will switch to the new state).\r\n+ *Enabled but don't show*: The user input will be accepted, but the new state will not be visualized.  This could be used if the switch needs to show the real state.  As soon as the real state changes, it will be injected into the switch node which will visually switch to the new state.  A ***\"ripple\" effect*** has been introduced to visualize that another state has been clicked:\r\n\r\n   ![multistate_ripple](https://user-images.githubusercontent.com/14224149/131454161-bf63a237-cd62-4bd0-bf2d-9b7f197fb7f1.gif)\r\n   \r\n   Note that only the first time that another state has been clicked, an output message will be sent!\r\n\r\nNote that the look and feel of the switch will also change when enabled or not:\r\n\r\n![Disabled switch](https://user-images.githubusercontent.com/14224149/109077361-4b2cde80-76fc-11eb-828c-6fcb32caba6d.png)\r\n\r\n### Options\r\nSpecify the options (label and value) that needs to be displayed inside the switch.\r\n\r\nNote that a label can contain an ***icon***.  See [this](https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/wiki/Displaying-icons-in-the-switch) wiki page for more information.\r\n\r\n### State field\r\nSpecify which field in the input and output message will contain the new switch state.  By default `msg.payload` will be used.\r\n\r\n### User input field\r\nSpecify which field in the input message will contain a value, indicating whether the switch should be enabled or not.  Which means whether it allows user input (click/touch).  By default `msg.enable` will be used.\r\n\r\nThe content of this message field can be:\r\n+ `\"enabled_show\"`: see user input modus *\"Enabled and show\"* for more information.  For legacy reasons, it is also possible to use `true` as content.\r\n+ `\"enabled_not_show\"`: see user input modus *\"Enabled but don't show\"* for more information.\r\n+ `\"disabled\"`: see user input modus *\"Disabled\"* for more information.  For legacy reasons, it is also possible to use `false` as content.\r\n\r\nSee example flow in [this](https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/wiki/Configuring-the-switch-via-input-messages) wiki page.\r\n\r\n### Passthrough field\r\nSpecify which field in the input message will contain a value, indicating whether the input messages should be passed through (to the output) or not.  The value can be:\r\n+ `\"never\"`: see passthrough modus *\"Never\"* for more information.\r\n+ `\"always\"`: see passthrough modus *\"Allways\"* for more information.\r\n+ `\"change\"`: see passthrough modus *\"If state changes\"* for more information.\r\n\r\nSee example flow in [this](https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/wiki/Configuring-the-switch-via-input-messages) wiki page.       \r\n    \r\n### Input msg field\r\nSpecify which field in the input message will contain a value, indicating whether the input messages should be accepted or not.  The value can be:\r\n+ `\"none\"`: see input msg modus *\"None\"* for more information.\r\n+ `\"all\"`: see input msg modus *\"All\"* for more information.\r\n\r\nSee example flow in [this](https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/wiki/Configuring-the-switch-via-input-messages) wiki page.\r\n\r\n## Example flow\r\n\r\nThe following flow shows switch button with 2, 3 and 4 states:\r\n\r\n![Example flow](https://user-images.githubusercontent.com/14224149/107993849-bb8c7f00-6fdb-11eb-8554-37f1064ce182.png)\r\n```\r\n[{\"id\":\"ddd054f9.fad338\",\"type\":\"ui_multistate_switch\",\"z\":\"2b6f5d19.202242\",\"name\":\"3-state switch\",\"group\":\"612af469.b217fc\",\"order\":2,\"width\":\"6\",\"height\":3,\"label\":\"\",\"stateField\":\"payload\",\"enableField\":\"enable\",\"rounded\":false,\"useThemeColors\":false,\"hideSelectedLabel\":false,\"options\":[{\"label\":\"First\",\"value\":\"first_option\",\"valueType\":\"str\",\"color\":\"#009933\"},{\"label\":\"Second\",\"value\":\"second_option\",\"valueType\":\"str\",\"color\":\"#999999\"},{\"label\":\"Third\",\"value\":\"third_option\",\"valueType\":\"str\",\"color\":\"#ff6666\"}],\"x\":600,\"y\":2520,\"wires\":[[\"93e957f1.03db98\"]]},{\"id\":\"2a536ad0.346656\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select first\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"first_option\",\"payloadType\":\"str\",\"x\":380,\"y\":2520,\"wires\":[[\"ddd054f9.fad338\"]]},{\"id\":\"84299ae7.d19498\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select second\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"second_option\",\"payloadType\":\"str\",\"x\":390,\"y\":2560,\"wires\":[[\"ddd054f9.fad338\"]]},{\"id\":\"ef8b1a83.f3f048\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select third\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"third_option\",\"payloadType\":\"str\",\"x\":390,\"y\":2600,\"wires\":[[\"ddd054f9.fad338\"]]},{\"id\":\"93e957f1.03db98\",\"type\":\"debug\",\"z\":\"2b6f5d19.202242\",\"name\":\"Selected option\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"payload\",\"targetType\":\"msg\",\"statusVal\":\"\",\"statusType\":\"auto\",\"x\":820,\"y\":2520,\"wires\":[]},{\"id\":\"824fdffc.d9095\",\"type\":\"ui_multistate_switch\",\"z\":\"2b6f5d19.202242\",\"name\":\"2-state switch\",\"group\":\"612af469.b217fc\",\"order\":2,\"width\":\"6\",\"height\":3,\"label\":\"\",\"stateField\":\"payload\",\"enableField\":\"enable\",\"rounded\":false,\"useThemeColors\":false,\"hideSelectedLabel\":false,\"options\":[{\"label\":\"First\",\"value\":\"first_option\",\"valueType\":\"str\",\"color\":\"#009933\"},{\"label\":\"Second\",\"value\":\"second_option\",\"valueType\":\"str\",\"color\":\"#999999\"}],\"x\":600,\"y\":2400,\"wires\":[[\"96211176.fb0c5\"]]},{\"id\":\"348a24.23e125dc\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select first\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"first_option\",\"payloadType\":\"str\",\"x\":380,\"y\":2400,\"wires\":[[\"824fdffc.d9095\"]]},{\"id\":\"2d5d1b5f.1ec254\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select second\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"second_option\",\"payloadType\":\"str\",\"x\":390,\"y\":2440,\"wires\":[[\"824fdffc.d9095\"]]},{\"id\":\"96211176.fb0c5\",\"type\":\"debug\",\"z\":\"2b6f5d19.202242\",\"name\":\"Selected option\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"payload\",\"targetType\":\"msg\",\"statusVal\":\"\",\"statusType\":\"auto\",\"x\":800,\"y\":2400,\"wires\":[]},{\"id\":\"9e13004b.409cf\",\"type\":\"ui_multistate_switch\",\"z\":\"2b6f5d19.202242\",\"name\":\"4-state switch\",\"group\":\"612af469.b217fc\",\"order\":2,\"width\":\"6\",\"height\":3,\"label\":\"\",\"stateField\":\"payload\",\"enableField\":\"enable\",\"rounded\":false,\"useThemeColors\":false,\"hideSelectedLabel\":false,\"options\":[{\"label\":\"First\",\"value\":\"first_option\",\"valueType\":\"str\",\"color\":\"#009933\"},{\"label\":\"Second\",\"value\":\"second_option\",\"valueType\":\"str\",\"color\":\"#999999\"},{\"label\":\"Third\",\"value\":\"third_option\",\"valueType\":\"str\",\"color\":\"#ff6666\"},{\"label\":\"Fourth\",\"value\":\"fourth_option\",\"valueType\":\"str\",\"color\":\"#009999\"}],\"x\":600,\"y\":2660,\"wires\":[[\"abadd7ac.5a1d68\"]]},{\"id\":\"7321b4f6.b4222c\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select first\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"first_option\",\"payloadType\":\"str\",\"x\":380,\"y\":2660,\"wires\":[[\"9e13004b.409cf\"]]},{\"id\":\"92480cff.63557\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select second\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"second_option\",\"payloadType\":\"str\",\"x\":390,\"y\":2700,\"wires\":[[\"9e13004b.409cf\"]]},{\"id\":\"efe7001d.2daa\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select third\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"third_option\",\"payloadType\":\"str\",\"x\":390,\"y\":2740,\"wires\":[[\"9e13004b.409cf\"]]},{\"id\":\"abadd7ac.5a1d68\",\"type\":\"debug\",\"z\":\"2b6f5d19.202242\",\"name\":\"Selected option\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"payload\",\"targetType\":\"msg\",\"statusVal\":\"\",\"statusType\":\"auto\",\"x\":820,\"y\":2660,\"wires\":[]},{\"id\":\"a3ea4dcf.9d869\",\"type\":\"inject\",\"z\":\"2b6f5d19.202242\",\"name\":\"Select fourth\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"fourth_option\",\"payloadType\":\"str\",\"x\":390,\"y\":2780,\"wires\":[[\"9e13004b.409cf\"]]},{\"id\":\"612af469.b217fc\",\"type\":\"ui_group\",\"name\":\"Default\",\"tab\":\"969376dd.5b27e8\",\"order\":1,\"disp\":true,\"width\":\"6\",\"collapse\":false},{\"id\":\"969376dd.5b27e8\",\"type\":\"ui_tab\",\"name\":\"Switch\",\"icon\":\"dashboard\",\"disabled\":false,\"hidden\":false}]\r\n```\r\n\r\nSome notes about the messages:\r\n+ ***Input msg***: the specified \"State\" msg field should contain the value of the option that needs to be selected.\r\n+ ***Output msg***: the `msg.payload` will contain the value of the option that has been selected.\r\n\r\n## Use cases\r\nA list of possible use cases for this node:\r\n\r\n+ Switch a thermostate on/off manually, or put it on automatic mode (i.e. controlled e.g. by a setpoint profile):\r\n\r\n   ![thermostat](https://user-images.githubusercontent.com/14224149/107996107-de209700-6fdf-11eb-9ff4-4974e8cbe9bf.png)\r\n\r\n+ Switch a light on/off manually, or put it on automatic mode (i.e; controlled by a PIR sensor):\r\n\r\n   ![ligth](https://user-images.githubusercontent.com/14224149/107996070-ca753080-6fdf-11eb-96cd-09907673487d.png)\r\n\r\n+ Show a larger series of short options:\r\n\r\n    ![large series](https://user-images.githubusercontent.com/14224149/108268345-aa26ac80-716c-11eb-9e26-c437d2a243c2.png)\r\n","readmeFilename":"README.md","_id":"node-red-contrib-ui-multistate-switch@1.2.0-beta.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-3efEhhTWoKpBTAgH+ksMqaQUb5pjXW36UC4bZDsYj1n7ZxCf8DLA2N4rHSF52NBxcwbdMjrjWn18hjRHvcMOrA==","shasum":"d850573c57905c2f634addeb3d30875dbd3902be","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.2.0-beta.1.tgz","fileCount":5,"unpackedSize":82347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLp8JCRA9TVsSAnZWagAAJQQP/iJwNKpua9vbHQSdLULn\nHsH6Ei3a4dQ1IF8SvFqlOm0Qy1q/nWfSd3UcHzUt8FIXCPpmuaQP8eeWXoJA\nUa9Vvx5XCv/dnAbichrRo9ebBJ6LyjexJavl5FpIuZTVXcNzOHEdSPVx0S8H\n7Y3N3Uo4e0ch1w643iyvGo3lnsboiWNHQXEdTZfSbW4q6W36fJlZs5CgvT6m\no2SDxhC1+Y5qagemLwMH6ZYmq2lMajaqoygPkjwiemeqbRqwyOEQ4aDM/KAi\nvBSPPmgHUH9zwC6UUHv26ZcKaiarBLB5CPrr7YBJO+/3oQCyhfiiq7tvf65T\nietnKRw3u9tiRBNzToySGuioOUtrtLhfok8o/R6T+tBzHK4ND0DcPsUsup/V\n4qHqvUTv1xMVhNmO+Dk7//cnZDenSuSqURyIK0rceGqfRdW6wIsjzWoecUAj\nFgPjgMPIpwOjDIi8+ae3htVEd0rQUImdOr3sKVjOpMg6Hu5/Px6p/5S2E2Rt\n6xVg14JBKT5uqu+0W4s4+4VS9XOHTPy8h276E1ArKRG79t1v4DtHLDaDAFDs\n/RbwNMTSo8pfMxxQRT3MtEgCeD8JRTtf30Vvw1J0z2PVmK1w2xW2zzYn4DL2\nqSf4FSfzSxAlXYJYBvqe+Do5ei8u276UXVA8+Ce6Lemm6f8N1olz0ekLEDvp\n90sl\r\n=iIZ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICe026OqR5OzlUSp6IjBpJtdCL/jRGq2Wh23ibsUDNPIAiBsodsDbZvoJ4g40scXDWGa8uyllFZsLleaPcal/E6xMQ=="}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.2.0-beta.1_1630445321347_0.3141871055348415"},"_hasShrinkwrap":false},"1.2.0":{"name":"node-red-contrib-ui-multistate-switch","version":"1.2.0","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","dependencies":{"mustache":"^4.2.0"},"keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"_resolved":"","_integrity":"","_from":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git","_id":"node-red-contrib-ui-multistate-switch@1.2.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-camOKzDmcp4owlc31t1+mUtcbObi3xHhOrTNPKflcFy1jLElFjfx29Uifi7z56ktq+8OD2wLkgF09emqZ6+HgA==","shasum":"d90fa6c0bd0b6add0614dd584ebe021485e90a53","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.2.0.tgz","fileCount":5,"unpackedSize":82340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPk0JCRA9TVsSAnZWagAAfOAP/jcJFxILU8ELVH48C3Yp\n+qsf8orPwNm2/OrGsVgyCIZNtUxWe6ccpXKTHplLST6+INoIJGHM2HQ349CG\nQ5JEJB0pPJTM1D/MwRhH6l8kN8UsuI3d1/Vd5KhuEdAhOE/a6wpFiS1Doy0U\ni/holUnxqo/vG/0b0MmLsfWzqdrEpcy0jkoSRbIdbh7E3BL7aj/YlFOMWPD0\nS1NTqAIHu65Chb7oL+pgbD+GgwuOjIRElj18w64qlXg7TZASlVcnQjF69PBs\nsOyA+P7yEzaYfrFoEDCrGSxDLoNyV7BbtAvhdg4cOmEmmS8Lhd1w9CBi9mGc\nvZIeL5u3FvniUzbftVgV0bHU+YlTdMFRnDzWJJrir3l5RUfnOGPcxhL550i2\nDBELsAA2/YN7JdnXeySSsRt5YXxMbBZWA1lU0FnvCTjk58rNfJ4BLVk5eH/B\nY+t471j/k5p6fiFhWuoZxkNPBkhaKqbmbUuF2UhFETYXTEFcBbgruy/P6SBt\nihlSmuMaOMF/KoBsetnrGi9TagY4IG7r1qN6K0Sxeg+TQM6wxZXNjDEdoWIK\nplgN+b6rChUlPEW82J6dBSvsFLQCoTrtabM7YzhVVdSC8lmYiwy3fa1oh8xC\nGfOfFv5LpolLcU+X1R+CWCCQg0i0//x2V28dg9YaMGHOuulpVUFZoZ96CalY\ngKaJ\r\n=KXha\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/TuYFITszplhn5f8yBc3xvsxR46haYzjbtyDcdkUrAAiBg0KbOziQjJostwfrLETiE9JOqy+tHZletRG1JMU96wA=="}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.2.0_1631472905377_0.23110862451307934"},"_hasShrinkwrap":false},"1.2.1":{"name":"node-red-contrib-ui-multistate-switch","version":"1.2.1","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","dependencies":{"mustache":"^4.2.0"},"keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"_resolved":"","_integrity":"","_from":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git","_id":"node-red-contrib-ui-multistate-switch@1.2.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-zI10SAQh8vTDDCDyJ40++hYmqxHU+ZZ2h0RMoi8ZrtIpi9rY6FOyWYtL2ARL8KxS2Xu34IMHzb7dIz2O+UMAQQ==","shasum":"4d616cea8a24993df833a00532282db32ef44a1a","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.2.1.tgz","fileCount":5,"unpackedSize":85337,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErOvpOoTSSHgHnWioCFnoeeVQxXKB1oJColYXdCS895AiEAkYrq8ILY8QUTzfhlg60Ko6Aa4K8CCqwInRLTyhKkjrA="}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.2.1_1633930867813_0.9032800702461685"},"_hasShrinkwrap":false},"1.2.2":{"name":"node-red-contrib-ui-multistate-switch","version":"1.2.2","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","dependencies":{"mustache":"^4.2.0"},"keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"_resolved":"","_integrity":"","_from":"git+https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git","_id":"node-red-contrib-ui-multistate-switch@1.2.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-MXG0kXN2aagguhTT8cCopyays2bjFd5apISkGr0OCuu5S4ylU0kruGKxAoGt5wnNZ3lftf9EPjrcVBA1k75J9g==","shasum":"745d7f4fa3aa50b54e74bda31888bcf57a5f7e7f","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.2.2.tgz","fileCount":5,"unpackedSize":86162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlCx0CRA9TVsSAnZWagAAYbMQAI9y2uRLjdXI+TkvjjmI\nt2bXkUW9/4KmhqMVrLLV/nuK1k8FD4dIlNfyIyeOg2maZmUygG2HZ4DxIdLX\nqdkn/c1VjnbbfrjJqRYQtmnziF+yhmVDLyA+klGKBiHSKMay9fhC0rPwzUWT\nRE3nx9Ln8E0kWNGnUTEITWv4rw+2j4AbNTAx3YuHHX45ZZRVJCCy2yubo2w3\n7GcgWZeZKiSg6OBpnRgte7uIAUzYQeCSAMq3xUz0LDAS/iMWmj3q4JeKjbEe\nopuTe13AcrkqvcXPIovi8JVyDibbKQRPdQkMsh4xiefgDKpBQW28diwYvCYI\nHyOawxM1lkyvI5xe6i/K4Mg88BiQXFxBSMhSwYSw1zOotFQi7/lMeNTFAHV1\nmlRJYjjkT7lKZjJYGdOiLT0r01eq/E4UyS0QCWkM6iqyxqMCdcPcjRUJiacn\nSpn5KB8j9qgUCxJnMquRasYJ4Wf1jdZ9935xcjdVdELUF1bD45jUDiwGfBZC\n99zVqrmBR0Go9EW5eGmtFAPh30WgvQ8/2OMk8KaypEeS0udeaLLWznjjjHi9\nR1gQIR0cWoZQPW4yJfIR/ELnp4gF38dYFjioEY8wxup4Tim7qAfMpfUe49wK\nP9xqE8akZYA5PRBmDnPM8G9DMN2j/30mtr5+XeEK1SFPx4vARHnP2zFmYfIM\nVlwV\r\n=uBAS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3fEcraZiDvhtFg3t512KU3Y9pwvouE1FlruVGMYrGqwIgJG8DnqZacjbgCa1VwCPRoRkQ+6EM7J59JqKHf5+Ps4k="}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.2.2_1637100660447_0.6515888933961553"},"_hasShrinkwrap":false},"1.2.3":{"name":"node-red-contrib-ui-multistate-switch","version":"1.2.3","description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","author":{"name":"Bart Butenaers"},"license":"Apache-2.0","dependencies":{"mustache":"^4.2.0"},"keywords":["node-red","dashboard","switch","multi","state"],"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","repository":{"type":"git","url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"node-red":{"nodes":{"ui_mult_state_switch":"multistate_switch.js"}},"_id":"node-red-contrib-ui-multistate-switch@1.2.3","_integrity":null,"_resolved":"git+ssh://git@github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git#598b1aed9360aaa28f3fad7700207d8d9b8d321c","_from":"github:bartbutenaers/node-red-contrib-ui-multistate-switch","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Bh4FiSllZSiVIWv8praWrkIM98noX47oUFQ7jVsFM9VIWA33Rda6QMh+HslT8dpjniSBrVWXBDWkrIVDwWQW8Q==","shasum":"01aaeaa935998303d617e8b182f3e6f19bc6e4b8","tarball":"https://registry.npmjs.org/node-red-contrib-ui-multistate-switch/-/node-red-contrib-ui-multistate-switch-1.2.3.tgz","fileCount":12,"unpackedSize":107886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHG4WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHIw/8Dhh/4bOcxkSroxMkPb9w4xZd8rzmCSpvk17pACVUKcdSF5um\r\nmqYsV7z7ULjgDDRJ6XhQWXJWRL5xP/ock96gY6bUg4FeKfMsbWS8euHYGjmT\r\nDrKBE0AHEwHB7YHG/G9pDKGSr0Kzf9bI8FFZfZS0/9m7jO/Y5Hzs4yDiDfk9\r\n4d4BQG1O/TNFwHtjMrztjsxzgyMtwy+z7BKeRddDRCZGxkdhYflDWz9diEvm\r\npSDTbt3xJs2wQw48KA8PtBVFppRlIRCrHzzOUtttbwGET3fmQOTymqYS2HNd\r\nhP9sg9+CIIrA4KO11HeTSf5GSfP7NSHzSnFeJwfzhyv5f/5hk9ytpx87rfQP\r\nQlh5PFbz+MGA9yy1Q6vNo6ydl4PcHqGYAHOu2j+Kwif7CT1y4yT1/Izp/PtJ\r\nItnLoxitnTpEhNXpYPvk7Sq+K9lo4VEWkcXHZiTV7WjBIgZ8IAMadi0g0r9Z\r\nh7Fiv3t8p3LNnhdAWCA2hDGoipUwBfVmcVpEh1Y85hNCkSjxrr3xTQebNPSl\r\n9y3M21HGi722B+P4dlcd+Mm2F9z25FpxBwsvB5jCvek2DVQKTLGdCr1jjwUI\r\nh9dGFb68evSbSi4ZSoS8XFgNq7Kfk01x/MWeCFwb9M7zITR2ycPV8C/D18zE\r\nV7a+5kazUn98MIsQelZir2JJEcY4Vnavacw=\r\n=hver\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG3yRqfPye4G1ME9U/nyUC+Um3EkukY1llNHOsgGnvyAIgb/uZMZY8LyCe8foljw2MzP72qhr12R+R/Dbh5+PE57s="}]},"_npmUser":{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"},"directories":{},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-ui-multistate-switch_1.2.3_1646030357901_0.08772661045624841"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-17T21:26:40.971Z","1.0.0":"2021-02-17T21:26:41.095Z","modified":"2022-05-11T04:11:18.724Z","1.1.0":"2021-03-04T16:42:02.842Z","1.2.0-beta.1":"2021-08-31T21:28:41.498Z","1.2.0":"2021-09-12T18:55:05.563Z","1.2.1":"2021-10-11T05:41:07.988Z","1.2.2":"2021-11-16T22:11:00.959Z","1.2.3":"2022-02-28T06:39:18.015Z"},"maintainers":[{"name":"bartbutenaers","email":"bart.butenaers@gmail.com"}],"description":"A Node Red node to show a switch with multiple states in the Node-RED dashboard","homepage":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch","keywords":["node-red","dashboard","switch","multi","state"],"repository":{"type":"git","url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch.git"},"contributors":[{"name":"hotnipi","url":"https://github.com/hotNipi"}],"author":{"name":"Bart Butenaers"},"bugs":{"url":"https://github.com/bartbutenaers/node-red-contrib-ui-multistate-switch/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}