Skip to content

Modbus slave sensors not available when master sensor is deactivated #149649

@pstzh

Description

@pstzh

The problem

It seems, that since core-2025.6.0 my slave sensors of a multiple modbus sensor configuration (slave_count = 20) are not available because I had a deactivated master sensor. I currently do not need the value of the master sensor but probably want to have it in future. After Activation of the master sensor in 2025.7.4 all of the slave sensors were available again.

What version of Home Assistant Core has the issue?

core-2.7.4

What was the last working version of Home Assistant Core?

core-2025.5.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

modbus

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

# part of the entry of my modbus config (kibernetik heatpump)
  sensors:
    - name: rego_hol1
      unique_id: rego_hol1
      slave: 1
      address: 4
      input_type: holding
      slave_count: 20
      data_type: int16
      scale: 0.1
      precision: 1
      scan_interval: 300
      unit_of_measurement: °C

Anything in the logs that might be useful for us?

Additional information

Activation of master entity "rego_hol1" and set it to invisible solves the problem for me. The behavior just changed since core-2.6.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions