Setup failed for 'sensors': Integration not found

Dear Home Assistant Forum,
I am trying to get HA to read data from an Epever UP-Hi solar inverter/charger using the guide kindly posted by Ucatchmydrift, however i have been at this for weeks and keep hitting a brick wall.

I removed Ucatchmydrift’s config from configuration.yaml until i get no errors in developer tools ‘check configuration’ which leaves me with just the modbus section:

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

modbus:

  • name: epever
    type: rtuovertcp
    host: 192.168.1.170
    port: 8088
    delay: 5
    timeout: 10

If i try to add the first sensor (see below) i get the error ‘Setup failed for ‘sensors’: Integration not found.’

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

modbus:

  • name: epever
    type: rtuovertcp
    host: 192.168.1.170
    port: 8088
    delay: 5
    timeout: 10

sensors:

  • name: “Grid Voltage”
    unit_of_measurement: V
    slave: 10
    address: 0x3500
    input_type: input
    scale: 0.01
    precision: 2

Can anyone give me some advice on this please?
Kind regards
Ade

your indentation is wrong.

modbus:
  - name: epever
    type: rtuovertcp
    host: 192.168.1.170
    port: 8088
    delay: 5
    timeout: 10
    sensors:
      - name: “Grid Voltage”
        unit_of_measurement: V
        slave: 10
        address: 0x3500
        input_type: input
        scale: 0.01
        precision: 2

also you should make sure you properly format your code by putting three backticks ``` on the line before and after the code text.

I think i may have resolved this issue, another spacing mistake in the configuration.yaml file. Additional 2 spaces for sensors and all below seems to work, not getting any errors and now seeing the sensor names on the overview screen, but no values, just says ‘unavailable’, still one step further on.

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

modbus:

  • name: epever
    type: rtuovertcp
    host: 192.168.1.170
    port: 8088
    delay: 5
    timeout: 10
    sensors:

Utility

  • name: “Grid Voltage”
    unit_of_measurement: V
    slave: 11
    address: 0x3500
    input_type: input
    scale: 0.01
    precision: 2
  • name: “Grid Current”
    unit_of_measurement: A
    slave: 11
    address: 0x3501
    input_type: input
    scale: 0.01
    precision: 2
  • name: “Grid State”

0:Normal, 1:Low input; 2:High input, 3: No connected

slave: 11
address: 0x3511
input_type: input

Thanks Finity,
I just blundered across this from looking at a similar configuration.yaml
Could you show me an example of where to use the three back ticks please? I don’t understand yet.
Kind regards
Ade

it’s hard to show because the forum converts backticks into code blocks but:

# three backticks here ```
# put some code here

sensor:
  - platform: something
    options:
      option_1: something
      option_2: something_else

# three backticks here ```

so in your case you put the backticks on the line before “loads default set of…” and on the line after “input_type: input”

Thank you Finity, i will give it a try later.
Ade

Thanks for your help Finity, finally got this working :slight_smile:
Many thanks
Ade

1 Like