Feature request for Nilan Ventilation system (Danish brand)

I have a Nilan Compact P GEO3 and I’m trying to set everything up. The Nilan is connected to my network and I’m using TCP modbus. The registers that are in the code of Jakob Moll work, but I’m trying to add others like CO2 (register 4712), floor temperature setpoint (T18, register 5169) and others. CO2 and T18 both return 0.

EDIT: The CO2 sensor is an option that I probably don’t have. The floor tmperature setpoint is on slave 4 instead of slave 1. So this is solved! Below you can see my correct config.

stream:
modbus:
  - name: nilanmodbus
    type: tcp
    host: 192.168.0.254
    port: 502
    sensors:
      - name: nilan_floor_temperature_setpoint
        unit_of_measurement: '°C'
        slave: 4
        address: 5169
        scale: 0.1
        count: 1
        data_type: int
      - name: nilan_humidity
        unit_of_measurement: '%'
        slave: 1
        address: 4716
...

I have another question:
I can’t seem to change any values. For example the air temperature setpoint. Below you can see the config of that one. When I add that entity as a card on my dashboard, I can’t change it. Any idea on how to do that?

EDIT: also solved. See below how I did this. This allows me to put a slider. The slider is not set automatically to the right value at start so I should find a way to do that.

automation:
    - id: Ventilation_speed
      alias: Ventilation speed
      trigger:
        platform: state
        entity_id: input_number.slider1
      action:
        service: modbus.write_register
        data_template:
          hub: nilanmodbus
          unit: 1
          address: 4747
          value: "{{ states.input_number.slider1.state|int }}"
    - id: Room_temperature
      alias: Room temperature
      trigger:
        platform: state
        entity_id: input_number.setpoint_room
      action:
        service: modbus.write_register
        data_template:
          hub: nilanmodbus
          unit: 1
          address: 4746
          value: "{{ states.input_number.setpoint_room.state|int * 10 }}"

      
input_number:
  slider1:
    name: Ventilation speed
    initial: 25
    min: 20
    max: 100
    step: 1
    unit_of_measurement: '%'
  setpoint_room:
    name: Room temperature
    min: 18
    max: 26
    step: 1
    unit_of_measurement: '°C'

There are broken links in this thread to the nilan modbus documentation. This is a link that does work atm: https://symlink.dk/stuff/CTS700_MODBUS-rev%202.01.pdf

This is what my cards look like now:

You can see three different temps for the floor, I’m not sure what each one means yet (T16 temp before condensor, T17 temperature flow outdoor unit and T18 supply temp central heating)