The problem
After updating to 2025.10.1, Modbus sensors display the "Unknown" status when reading the "0" register value.
An example of a power measurement sensor is below.
#================================#
#======= MODBUS HUB PE11-H ==========#
modbus:
- name: PE11-H
type: tcp
host: 192.168.2.38 # power meter
port: 502
delay: 0
#------------------------------------------------------#
...
#=== Slave 3. 2-d Floor Heaters&Light (HL)=====#
...
#===== 2-nd Floor HL Active Power (W) =======#
- name: em3_2floor_hl_w
unique_id: em3_2floor_hl_w
slave: 3
address: 12
scan_interval: 5
input_type: input
data_type: float32
device_class: power
unit_of_measurement: W
nan_value: 0x0000
precision: 2
#=================================#
If the power consumption is “0”(register value =0), the sensor displays the “Unknown” status.
If any load is turned on (read register > 0), the sensor shows the correct value.
CAS Modbus Scanner reads the registers without any errors - if the power is "0", the value is 0.000000, if 4,9W, the value is 4.900000.
All the “non-zero” sensors (> 30) work fine.
Everything worked fine for years before the update.
I did not find any errors in the logs.
Cleared the cache, reloaded HA, rebooted host - nothing helped.
What version of Home Assistant Core has the issue?
2025.10.1
What was the last working version of Home Assistant Core?
2025.9.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Modbus
Link to integration documentation on our website
https://www.home-assistant.io/integrations/modbus/
Diagnostics information
logs:
homeassistant.components.modbus: debug
pymodbus: debug
2025-10-06_DEBUG modbus[partial].txt
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The problem
After updating to 2025.10.1, Modbus sensors display the "Unknown" status when reading the "0" register value.
An example of a power measurement sensor is below.
If the power consumption is “0”(register value =0), the sensor displays the “Unknown” status.
If any load is turned on (read register > 0), the sensor shows the correct value.
CAS Modbus Scanner reads the registers without any errors - if the power is "0", the value is 0.000000, if 4,9W, the value is 4.900000.
All the “non-zero” sensors (> 30) work fine.
Everything worked fine for years before the update.
I did not find any errors in the logs.
Cleared the cache, reloaded HA, rebooted host - nothing helped.
What version of Home Assistant Core has the issue?
2025.10.1
What was the last working version of Home Assistant Core?
2025.9.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Modbus
Link to integration documentation on our website
https://www.home-assistant.io/integrations/modbus/
Diagnostics information
logs:
homeassistant.components.modbus: debug
pymodbus: debug
2025-10-06_DEBUG modbus[partial].txt
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response