sensor:
  - platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${name} Drehzahl Netzpumpe"
    id: ${lower_name}_Drehzahl_Netzpumpe
    register_type: read
    address: 700
    unit_of_measurement: "%"
    value_type: U_WORD

  - platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${name} Netzrücklauf Temperatur"
    id: ${lower_name}_Netzruecklauf_Temperatur 
    register_type: read
    address: 701
    unit_of_measurement: "°C"
    value_type: S_WORD
    filters:
      - multiply: 0.5

binary_sensor:
  - platform: template
    name: "${name} Netzpumpe AN AUS"
    id: ${lower_name}_Netzpumpe_AN_AUS
    lambda: |-
      if (id(${lower_name}_Drehzahl_Netzpumpe).state > 0) {
        return true;
      } else {
        return false;
      }
