I’ve got a Shelly Plus 1 that switches on my heatpump. And now i just want to to display the state of it in Grafana. How do i do that? As a template Sensor? No clue.
Right now it is just a binary sensor: binary_sensor.shellyplus1_a8056776556b82618_switch_0_input
How would the code look like?
Thanks a lot for any help!