I have a common “analog” number item like heating modulation level %.
I need to generate two internal items, one for heating enabled and one for domestic water enabled. If one is equal to source variable ,the second should be zero and vice versa.
Internal vars are then stored in Influxdb and visualised with grafana.
Should be rules used ?