Skip to content

Multiline text from custom sensor #772

Answered by mathoudebine
EdvanSchleck5 asked this question in Q&A
Discussion options

You must be logged in to vote

Did you implement it in a custom sensor? The issue may be because if no answer is specified then the default anchor 'lt' is applied, but the 'lt' anchor is incompatible with multiline text.

In your theme file you could try to specify another text anchor like this:

  CUSTOM:
    INTERVAL: 3
    YourCustomSensor:
      TEXT:
        [...]
        ANCHOR: 'la'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EdvanSchleck5
Comment options

Answer selected by EdvanSchleck5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants