It’s possible with the Enhanced Device Widget:
Generate the layout and message with a flowcard. Endless possibilities. Red warning, green OK, yellow note, fixed colors for family members, and so forth.
HTML coding possible:
Do use the same widget ID in the flowcard; I used 01A
for the yellow card for example: