Closed ArmenGhazaryan closed 9 months ago
I am not the original author, but I managed to get it to work. This is more like a documentation issue, and the fact that the error messages that the service reports are no help:
you are missing a mandatory attribute called "offset_y", which expects an INT value. This tells the thing the line height: how much space to start the next line down the y axis.
unfortunately the example does not has this attribute, but i think it is mentioned in the documentation somewhere.
@zarqeon, you are right. Thanks for the hint. Actually just offset_y didn't do the trick for me. I had to submit all these fields
- type: multiline
value: "adb|asd"
delimiter: "|"
font: "ppb.ttf"
offset_y: 50
x: 0
size: 40
color: black
y_padding: 10
I will try to purpose the documentation change
closed thanks to @ArmenGhazaryan PR
Describe the bug Payload type multiline is not working in my HA setup.
To Reproduce Steps to reproduce the behavior:
Expected behavior The expected behaviour is to have no errors and generate the image for the tag.
Screenshots
Additional context
Logger: homeassistant.helpers.script.websocket_api_script Source: helpers/script.py:468 First occurred: 2:12:58 PM (1 occurrences) Last logged: 2:12:58 PM