mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
fixed example lambda key (#1872)
This commit is contained in:
parent
a33f3a98f8
commit
5f19d7e9fc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user