Modbus Sensor TCP for Komfovent

Hi, i used narnaliai setup and just edited it a bit.
configuration.yaml

###
modbus:
  name: Komfovent
  type: tcp
  host: 192.168.1.34
  port: 502
###
switch:
  - platform: modbus
    registers:
      - name: "Komfovent Auto Mode"
        hub: Komfovent
        slave: 1
        register: 3
        command_on: 1
        command_off: 0
  - platform: modbus
    registers:
      - name: "Komfovent Power"
        hub: Komfovent
        slave: 1
        register: 0
        command_on: 1
        command_off: 0  
  - platform: modbus
    registers:
      - name: "Komfovent Eco Mode"
        hub: Komfovent
        slave: 1
        register: 2
        command_on: 1
        command_off: 0
###
sensor:
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Power"
        hub: Komfovent
        register: 0
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Eco"
        hub: Komfovent
        register: 2
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Auto"
        hub: Komfovent
        register: 3
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Mode"
        hub: Komfovent
        register: 4
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Shedule"
        hub: Komfovent
        register: 5
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Supply temperature 'C"
        hub: Komfovent
        register: 901
        register_type: holding
        unit_of_measurement: °C        
        scale: 0.1
        precision: 1
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Extract temperature 'C"
        hub: Komfovent
        register: 902
        register_type: holding
        scale: 0.1
        unit_of_measurement: °C
        precision: 1
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Supply Flow '%"
        hub: Komfovent
        register: 905
        count: 2            
        register_type: holding
        precision: 1
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Extract Flow '%"
        hub: Komfovent
        register: 907
        count: 2          
        register_type: holding
        precision: 1
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Supply Fan Intensivity '%"
        hub: Komfovent
        register: 909
        register_type: holding
        scale: 0.1
        precision: 1
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Extract Fan Intensivity '%"
        hub: Komfovent
        register: 910
        register_type: holding
        scale: 0.1
        precision: 1        
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Outdoor temperature 'C"
        hub: Komfovent
        register: 903
        register_type: holding
        unit_of_measurement: °C        
        scale: 0.1
        precision: 1        
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Filter Dirt, %"
        hub: Komfovent
        register: 918
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Filter Dirt, %"
        hub: Komfovent
        register: 917
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Filter Impurity, %"
        hub: Komfovent
        register: 916
        register_type: holding       
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Heating power, W"
        hub: Komfovent
        register: 912
        register_type: holding
        unit_of_measurement: W
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Power consumption, W"
        hub: Komfovent
        register: 920
        register_type: holding
        unit_of_measurement: W  
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Heating Recovery Day, kWh"
        hub: Komfovent
        register: 938
        register_type: holding
        unit_of_measurement: kWh
        count: 2
        precision: 1
        scale: 0.001        
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Heating Recovery Month, kWh"
        hub: Komfovent
        register: 940
        register_type: holding
        unit_of_measurement: kWh
        count: 2
        precision: 2
        scale: 0.001        
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Heating Recovery Total, kWh"
        hub: Komfovent
        register: 942
        count: 2
        register_type: holding
        unit_of_measurement: kWh
        precision: 2
        scale: 0.001
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Heat Recovery, W"
        hub: Komfovent
        register: 922
        register_type: holding 
        unit_of_measurement: W
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Heat exchanger efficiency, %"
        hub: Komfovent
        register: 923
        register_type: holding
        scale: 0.1
        precision: 2
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Energy saving, %"
        hub: Komfovent
        register: 924
        register_type: holding
  - platform: modbus
    scan_interval: 10
    registers:
      - name: "Komfovent Specific power (SPI)"
        hub: Komfovent
        register: 925
        register_type: holding 
        scale: 0.001
        precision: 2
###

Lovelace:

type: vertical-stack
name: Recuperation
cards:
  - type: horizontal-stack
    title: Töörežiimid
    cards:
      - type: button
        entity: switch.komfovent_auto_mode
        name: Auto
        icon: 'mdi:home-floor-a'
        hold_action: more_info
      - type: button
        entity: switch.komfovent_eco_mode
        name: Eco
        icon: 'mdi:alpha-e-box-outline'
        hold_action: more-info
      - type: button
        entity: switch.komfovent_power
        name: Sisse/Välja
        icon: 'mdi:power'
        hold_action: more-info
  - type: horizontal-stack
    cards:
      - type: button
        tap_action:
          action: call-service
          service: modbus.write_register
          service_data:
            address: 4
            hub: Komfovent
            unit: 1
            value: 1
        hold_action:
          action: none
        name: Eemal
        show_name: true
        icon: 'mdi:home-export-outline'
      - type: button
        tap_action:
          action: call-service
          service: modbus.write_register
          service_data:
            address: 4
            hub: Komfovent
            unit: 1
            value: 2
        hold_action:
          action: none
        name: Kodus
        show_name: true
        icon: 'mdi:home-account'
      - type: button
        tap_action:
          action: call-service
          service: modbus.write_register
          service_data:
            address: 4
            hub: Komfovent
            unit: 1
            value: 3
        hold_action:
          action: none
        name: Külalised
        show_name: true
        icon: 'mdi:fan-plus'
      - type: button
        tap_action:
          action: call-service
          service: modbus.write_register
          service_data:
            address: 4
            hub: Komfovent
            unit: 1
            value: 4
        hold_action:
          action: none
        name: Köök
        show_name: true
        icon: 'mdi:fan'
  - type: horizontal-stack
    title: Andurid
    cards:
      - type: sensor
        entity: sensor.komfovent_outdoor_temperature_c
        name: Välisõhk
        icon: 'mdi:thermometer'
        tap_action:
          action: none
        hold_action: more-info
      - type: sensor
        entity: sensor.komfovent_supply_temperature_c
        name: Sissepuhe
        icon: 'mdi:home-import-outline'
        tap_action:
          action: none
        hold_action: more-info
      - type: sensor
        entity: sensor.komfovent_extract_temperature_c
        name: Väljatõmme
        icon: 'mdi:home-export-outline'
        tap_action:
          action: none
        hold_action: more-info
  - type: horizontal-stack
    cards:
      - type: sensor
        entity: sensor.komfovent_supply_flow
        name: SP Vent
        icon: 'mdi:fan'
        tap_action:
          action: none
        hold_action: more-info
      - type: sensor
        entity: sensor.komfovent_extract_flow
        name: VT Vent
        icon: 'mdi:fan'
        tap_action:
          action: none
        hold_action: more-info
      - type: sensor
        entity: sensor.komfovent_filter_impurity
        name: Filter
        icon: 'mdi:air-filter'
        tap_action:
          action: none
        hold_action: more-info
  - type: horizontal-stack
    cards:
      - type: sensor
        entity: sensor.komfovent_heating_recovery_day_kwh
        name: 1P Tagastus
        icon: 'mdi:atom-variant'
        tap_action:
          action: none
        hold_action: more-info
      - type: sensor
        entity: sensor.komfovent_heat_recovery_w
        name: Tagastus
        icon: 'mdi:atom-variant'
        tap_action:
          action: none
        hold_action: more-info
      - type: sensor
        entity: sensor.komfovent_power_consumption_w
        name: Voolutarve
        icon: 'mdi:lightning-bolt-outline'
        hold_action: more-info
  - type: horizontal-stack
    title: Kalendergraafik
    cards:
      - type: button
        tap_action:
          action: call-service
          service: modbus.write_register
          service_data:
            address: 5
            hub: Komfovent
            unit: 1
            value: 0
        hold_action:
          action: none
        name: Pidevalt kodus
        show_name: true
        icon: 'mdi:home-outline'
      - type: button
        tap_action:
          action: call-service
          service: modbus.write_register
          service_data:
            address: 5
            hub: Komfovent
            unit: 1
            value: 1
        hold_action:
          action: none
        name: Töönädal
        show_name: true
        icon: 'mdi:home-city-outline'

Sorry for my estonian translations, you can edit it at lovelace.

2 Likes