Bump. I reconfigured my setup to use a rest call to read out sensor. In that way there is no need to run a script and uyse a MQTT server. Details here:
OK, reply to myself, but just to document the solution. In the end Daniel assisted me and we found a solution. Using the normal HA scrape sensor, it turned out Multiscrape was not necessary. The scrape itself gets a json, from which multiple sensors can be read out. That was my misunderstanding.
Now I use the following scrape sensor, really easy:
rest:
- resource: 'http://192.168.2.138/get.json?f=$.status.*'
scan_interval: 10
sensor:
- name: Vloerverwarming Modus
value_…