Push method in device …

... always receives button number as 1 when any button defined on dashboard is pushed:

thanks.

Please provide diagnostic details (is, browser, firmware, etc ), your layout file ( pm it to me, if your don’t want it shared publicly )

browser: chrome Version 65.0.3325.181 (Official Build) (64-bit)
firmware: 1.0.6.709
layout:
Support Information

Layout

{ “clockMode”: true, “tiles”: [ { “rowSpan”: 1, “template”: “bulb”, “col”: 3, “colSpan”: 1, “id”: 0, “row”: 2, “device”: “36”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “bulb”, “col”: 2, “colSpan”: 1, “id”: 1, “row”: 2, “device”: “37”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “bulb”, “col”: 1, “colSpan”: 1, “id”: 2, “row”: 2, “device”: “42”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “bulb”, “col”: 4, “colSpan”: 1, “id”: 3, “row”: 2, “device”: “43”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “contact”, “col”: 1, “colSpan”: 1, “id”: 4, “row”: 3, “device”: “45”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “motion”, “col”: 1, “colSpan”: 1, “id”: 5, “row”: 4, “device”: “119”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “temperature”, “col”: 3, “colSpan”: 1, “id”: 6, “row”: 3, “device”: “45”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “temperature”, “col”: 3, “colSpan”: 1, “id”: 7, “row”: 4, “device”: “119”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “humidity”, “col”: 4, “colSpan”: 1, “id”: 8, “row”: 4, “device”: “119”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “illuminance”, “col”: 5, “colSpan”: 1, “id”: 9, “row”: 4, “device”: “119”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “battery”, “col”: 2, “colSpan”: 1, “id”: 10, “row”: 3, “device”: “45”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “battery”, “col”: 2, “colSpan”: 1, “id”: 11, “row”: 4, “device”: “119”, “templateExtra”: “-1” }, { “rowSpan”: 1, “template”: “attribute”, “col”: 1, “colSpan”: 1, “id”: 12, “row”: 1, “device”: “54”, “templateExtra”: “occupancy” }, { “rowSpan”: 1, “template”: “attribute”, “col”: 2, “colSpan”: 1, “id”: 13, “row”: 1, “device”: “54”, “templateExtra”: “countdown” }, { “rowSpan”: 1, “template”: “attribute”, “col”: 5, “colSpan”: 1, “id”: 14, “row”: 2, “device”: “36”, “templateExtra”: “colorTemperature” }, { “rowSpan”: 1, “template”: “button”, “col”: 3, “colSpan”: 1, “id”: 15, “row”: 1, “device”: “54”, “templateExtra”: “1” }, { “rowSpan”: 1, “template”: “button”, “col”: 4, “colSpan”: 1, “id”: 16, “row”: 1, “device”: “54”, “templateExtra”: “3” }, { “rowSpan”: 1, “template”: “button”, “col”: 5, “colSpan”: 1, “id”: 17, “row”: 1, “device”: “54”, “templateExtra”: “4” } ], “bgColor”: “SaddleBrown”, “lanRefresh”: 2, “background”: “https://hubit.at/bg”, “customColors”: [ { “template”: “contact”, “bgColor”: “rgba(128,128,128,0.5)”, “iconColor”: “rgba(228,228,228,1)”, “state”: “open” }, { “template”: “contact”, “bgColor”: “rgba(128,128,128,0.5)”, “iconColor”: “rgba(47,170,41,1)”, “state”: “closed” } ], “name”: “dW BR room”, “readOnly”: false, “fontSize”: “”, “cloudRefresh”: 5, “rows”: “4”, “cols”: “5” }

Devices

[ { “id”: 0, “label”: “Dashboards”, “attr”: [ { “id”: 50, “name”: “dW BR room” }, { “id”: 51, “name”: “Home” }, { “id”: 92, “name”: “lI room” } ] }, { “id”: 45, “label”: “dW BR CS”, “attr”: [ { “battery”: “66”, “unit”: “null” }, { “contact”: “open”, “unit”: “null” }, { “temperature”: “69.80”, “unit”: “°F” } ], “template”: “contact” }, { “id”: 42, “label”: “dw BR LI 1”, “attr”: [ { “level”: “20”, “unit”: “null” }, { “switch”: “off”, “unit”: “null” } ], “template”: “bulb” }, { “id”: 43, “label”: “dW BR LI 2”, “attr”: [ { “level”: “20”, “unit”: “null” }, { “switch”: “off”, “unit”: “null” } ], “template”: “bulb” }, { “id”: 36, “label”: “dW BR LI 3”, “attr”: [ { “checkInterval”: “1260”, “unit”: “null” }, { “lastConfigure”: “1520316381433”, “unit”: “null” }, { “colorName”: “Sodium”, “unit”: “null” }, { “colorTemperature”: “1900”, “unit”: “null” }, { “colorTemperatureRange”: “-2”, “unit”: “null” }, { “reachable”: “true”, “unit”: “null” }, { “lastReceive”: “Mon Mar 05 22:08:21 PST 2018”, “unit”: “null” }, { “level”: “30”, “unit”: “%” }, { “switch”: “off”, “unit”: “null” } ], “template”: “bulb” }, { “id”: 37, “label”: “dW BR LI 4”, “attr”: [ { “colorName”: “Sodium”, “unit”: “null” }, { “colorTemperature”: “1900”, “unit”: “null” }, { “colorTemperatureRange”: “-2”, “unit”: “null” }, { “reachable”: “true”, “unit”: “null” }, { “lastReceive”: “Mon Mar 05 22:08:59 PST 2018”, “unit”: “null” }, { “level”: “30”, “unit”: “%” }, { “switch”: “off”, “unit”: “null” } ], “template”: “bulb” }, { “id”: 54, “label”: “dW BR room”, “attr”: [ { “numberOfButtons”: “9”, “unit”: “null” }, { “button”: “pushed”, “unit”: “null” }, { “alarmEnabled”: “No”, “unit”: “null” }, { “occupancy”: “vacant”, “unit”: “null” }, { “pushed”: “3”, “unit”: “null” }, { “countdown”: “0s”, “unit”: “null” } ], “template”: “switch” }, { “id”: 119, “label”: “dW BR XS”, “attr”: [ { “tamper”: “clear”, “unit”: “null” }, { “pendingChanges”: “0”, “unit”: “null” }, { “lastUpdate”: “04/21/2018 01:16:57 AM”, “unit”: “null” }, { “battery”: “100”, “unit”: “%” }, { “humidity”: “53.65”, “unit”: “%” }, { “pLight”: “0.87”, “unit”: “%” }, { “lxLight”: “0.39”, “unit”: “lx” }, { “illuminance”: “0.39”, “unit”: “lx” }, { “lastCheckin”: “04/25/2018 10:05:41 AM”, “unit”: “null” }, { “temperature”: “69.83”, “unit”: “F” }, { “primaryStatus”: “inactive”, “unit”: “null” }, { “motion”: “inactive”, “unit”: “null” }, { “secondaryStatus”: “53.65% RH”, “unit”: “null” } ], “template”: “motion” }, { “id”: 0, “label”: “Modes”, “attr”: [ { “active”: true, “id”: 1, “name”: “Day” }, { “active”: false, “id”: 2, “name”: “Evening” }, { “active”: false, “id”: 3, “name”: “Night” }, { “active”: false, “id”: 4, “name”: “Away” }, { “active”: false, “id”: 5, “name”: “Movie” }, { “active”: false, “id”: 6, “name”: “Party” }, { “active”: false, “id”: 7, “name”: “Morning” } ] } ]

Thanks for the details. This is a confirmed bug, fix didn’t make it into the latest, but will be in next update.

1 Like

rough eta? ... something ... anything? :slight_smile:

while i am in here asking … any way we could get a label capability for the tiles so it doesnt say button 1 rather says occupied?

that way you wouldnt have to whitelist any custom commands and users could just use this tiles to set rooms state.

thanks.