esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 36 forks source link

Register count is an invalid option for number #5985

Open ricmik opened 4 months ago

ricmik commented 4 months ago

The problem

[register_count] is an invalid option for [number.modbus_controller]. Did you mean [register_type]?

Which version of ESPHome has the issue?

2024.6.4

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP32

Board

No response

Component causing the issue

modbus_controller

Example YAML snippet

number:
  - platform: modbus_controller
    name: "Duration Holiday"
    address: 1100
    value_type: S_WORD
    min_value: 1
    max_value: 365
    icon: mdi:fan-clock
    unit_of_measurement: "d"
    register_count: 5

Anything in the logs that might be useful for us?

No response

Additional information

I am trying to optimize the Modbus communication.

I get the same error for "binary_sensor", but for "sensor" it works.

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.