On/Off Switch not visible on dashboard
Posted: Wednesday 08 December 2021 3:10
Hi,
I use the.version 3.8.6 of Dashticz.
I try to add a block for a plug on my dashboard and this kind of device seem to not be well reconized by Dashticz :
My block declaration is :
blocks['Sapin'] = {
idx: 233,
title: 'Sapin',
iconOn: 'fas fa-toggle-on',
iconff: 'fas fa-toggle-off',
width: 3,
last_update: false
}
The block is not visible in the dashboard.
The HTML coed generated for the block is :
<div data-id="233" class="mh transbg block_Sapin"></div>
What is strange, if I change the type of block to dial, the block is visible ...
I try to create a group with the switch inside and create a block from this group, I got the same result the html code is not generated for the block.
Could you help me ?
Regards,
Vincent
I use the.version 3.8.6 of Dashticz.
I try to add a block for a plug on my dashboard and this kind of device seem to not be well reconized by Dashticz :
My block declaration is :
blocks['Sapin'] = {
idx: 233,
title: 'Sapin',
iconOn: 'fas fa-toggle-on',
iconff: 'fas fa-toggle-off',
width: 3,
last_update: false
}
The block is not visible in the dashboard.
The HTML coed generated for the block is :
<div data-id="233" class="mh transbg block_Sapin"></div>
What is strange, if I change the type of block to dial, the block is visible ...
I try to create a group with the switch inside and create a block from this group, I got the same result the html code is not generated for the block.
Could you help me ?
Regards,
Vincent