mirror of https://github.com/arendst/Tasmota.git
Fixed Berry energy missing attributes (#22116)
This commit is contained in:
parent
a75a58d591
commit
7247cd6c44
|
@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
|
||||||
### Fixed
|
### Fixed
|
||||||
- Shutter missing HOLD on shutterbutton (#22108)
|
- Shutter missing HOLD on shutterbutton (#22108)
|
||||||
- ModbusBridge request and response logic (#22075)
|
- ModbusBridge request and response logic (#22075)
|
||||||
|
- Berry energy missing attributes
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ extern "C" {
|
||||||
};
|
};
|
||||||
extern "C" const be_ctypes_structure_t be_energy_struct = {
|
extern "C" const be_ctypes_structure_t be_energy_struct = {
|
||||||
sizeof(tEnergy), /* size in bytes */
|
sizeof(tEnergy), /* size in bytes */
|
||||||
68, /* number of elements */
|
108, /* number of elements */
|
||||||
be_ctypes_instance_mappings,
|
be_ctypes_instance_mappings,
|
||||||
(const be_ctypes_structure_item_t[108]) {
|
(const be_ctypes_structure_item_t[108]) {
|
||||||
{ "active_power", offsetof(tEnergy, active_power[0]), 0, 0, ctypes_float, 0 },
|
{ "active_power", offsetof(tEnergy, active_power[0]), 0, 0, ctypes_float, 0 },
|
||||||
|
|
Loading…
Reference in New Issue