New to plotly/JS.
Following config does not produce x-y scatter plot, rather two separate traces with time on x-axle
type: custom:plotly-graph
title: Scatter Graph
entities:
- sensor.esp32_2_inside_humidity
- sensor.esp32_2_inside_temperature
layout:
xaxis:
title: X-Axis
yaxis:
title: Y-Axis
hovermode: closest
data:
- type: scatter
mode: markers
x:
sensor.esp32_2_inside_temperature
y:
sensor.esp32_2_inside_humidity
Can someone spot the mistake?