Skip to content

Commit

Permalink
fix: SERVICE_READ_INPUT_REGISTERS wrong method
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Aug 13, 2024
1 parent e34ba80 commit 2fb710c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solarman/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def write_multiple_holding_registers(call: ServiceCall) -> None:
)

hass.services.async_register(
DOMAIN, SERVICE_READ_INPUT_REGISTERS, read_holding_registers, schema = SERVICE_READ_REGISTERS_SCHEMA, supports_response = SupportsResponse.OPTIONAL
DOMAIN, SERVICE_READ_INPUT_REGISTERS, read_input_registers, schema = SERVICE_READ_REGISTERS_SCHEMA, supports_response = SupportsResponse.OPTIONAL
)

hass.services.async_register(
Expand Down

0 comments on commit 2fb710c

Please sign in to comment.