Skip to content

Can´t apply custom x y values to plotly chart #462

Answered by dbuezas
falkio8 asked this question in Q&A
Discussion options

You must be logged in to vote

Double curly braces templating is not available in the configuration of cards, and triple square brackets are another syntax that requires an extra templating extension.

In this card there's no templating, there are JavaScript functions instead.

Try with this instead:

x: |
   $ex hass.states['sensor.trovis_regler_vorlaufkurve'].attributes.x_werte
y: |
   $ex hass.states['sensor.trovis_regler_vorlaufkurve'].attributes.y_werte
    

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@falkio8
Comment options

@dbuezas
Comment options

Answer selected by falkio8
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