HTML code with Dzvents script displayed in Dashticz
Posted: Monday 27 December 2021 14:00
Hi,
I'm tyring to line out some text generated in my Dzvents script to be displayed in Dashticz
Somehow the the first line of the text is in line with the title and afterwards it is move to the left
How can i place the text with a <br> in llne ?
I'm tyring to line out some text generated in my Dzvents script to be displayed in Dashticz
Somehow the the first line of the text is in line with the title and afterwards it is move to the left
Code: Select all
if Balkondeur.state == 'Open' and Garagedeur.state == 'Closed' and Achterdeur.state == 'Closed' and Erkerdeur.state == 'Open' then
local message = 'Balkondeur is Open<br>Achterdeur is Open<br>Erkerdeur is Open'
textblock.updateText(message)
dz.log(message, dz.LOG_FORCE)
end