nic6911 / ESP32_Modbus_Module

54 stars 8 forks source link

Couldn't find ID 'wavin_modbus'. #12

Closed Inrego closed 3 months ago

Inrego commented 3 months ago

I'm trying to install on the unit I purchased. I'm using the yaml from https://github.com/nic6911/ESP32_Modbus_Module/blob/main/esphome_example_code/WavinAHC9000V2_example.yaml but during compile, I get the error Couldn't find ID 'wavin_modbus'.

Inrego commented 3 months ago

Found the bug:

Changed this line: https://github.com/nic6911/ESP32_Modbus_Module/blob/20d9334d7542a3a562a640915ec5420a52b6e496/esphome_example_code/WavinAHC9000V2_example.yaml#L157

to this: modbus_id: ${device}_modbus