Skip to content
Discussion options

You must be logged in to vote

Yes,

- type: custom:plotly-graph entities: - entity: sensor.openweathermap_temperature period: hour fn: >-  $fn ({ys, vars}) => {vars.is = ys[ys.length-1];vars.was =  ys[ys.length-2];}  - entity: '' type: indicator mode: number+delta docs: >-  https://plotly.com/javascript/reference/indicator/#indicator-number  value: $fn ({ vars }) => vars.is bgcolor: black title: text: Temperature number: suffix: ° valueformat: '0.1' delta: position: top 

Replies: 2 comments 4 replies

Comment options

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

@dbuezas
Comment options

Answer selected by luissimoes
Comment options

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

@lloydbayley
Comment options

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