I want to read the status of my inputs and the temperature of my DS18B20 sensor on my add-on. Can anyone provide
a code snippet to do this?
The code snippet supplied by Shelly does show how to get the input status but via a callback which only gets called on a change.
I would like to just read the status.
I cant work out how read the temperature at all!