Closed ouhaiorg closed 2 years ago
Works for me so you need to provide more details.
Tileboard version is 2.9.0,not use Tileboard addon I use TYPES.SENSOR and action: function(item, entity) { return this.$scope.openPopup(item, entity,item.popup);} instead of TYPES.POPUP. The tile(TYPES.SWITCH) in popup can't action. But in previous Tileboard version(about two years ago) is ok.
{ position: [1, 1], type: TYPES.SENSOR, title: 'sensor', id: 'sensor.e2_battery', action: function(item, entity) {return this.$scope.openPopup(item, entity, item.popup);}, popup:{ items:[{ position: [0, 0], type: TYPES.LIGHT, title: 'light', id: 'light.study_light04', }] } },
Tile(TYPES.SWITCH/TYPES.LIGHT/TYPES.SCRIPT) on popup page has no action on click, so I can't turn on or turn off this tile on popup page, but on old version is ok.