fixed example lambda key (#1872)

This commit is contained in:
Joeri Colman 2022-02-19 12:35:28 +01:00 committed by GitHub
parent a33f3a98f8
commit 5f19d7e9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ Possible return values for the lambda:
- platform: modbus_controller
modbus_controller_id: epever
id: battery_capacity_output
lambda: |-
write_lambda: |-
ESP_LOGD("main","Modbus Output incoming value = %f",x);
uint16_t b_capacity = x ;
payload.push_back(b_capacity);