mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-14 20:21:25 +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
|
- platform: modbus_controller
|
||||||
modbus_controller_id: epever
|
modbus_controller_id: epever
|
||||||
id: battery_capacity_output
|
id: battery_capacity_output
|
||||||
lambda: |-
|
write_lambda: |-
|
||||||
ESP_LOGD("main","Modbus Output incoming value = %f",x);
|
ESP_LOGD("main","Modbus Output incoming value = %f",x);
|
||||||
uint16_t b_capacity = x ;
|
uint16_t b_capacity = x ;
|
||||||
payload.push_back(b_capacity);
|
payload.push_back(b_capacity);
|
||||||
|
Loading…
Reference in New Issue
Block a user