Fixed Berry energy missing attributes (#22116)

This commit is contained in:
s-hadinger 2024-09-09 21:50:06 +02:00 committed by GitHub
parent a75a58d591
commit 7247cd6c44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- Shutter missing HOLD on shutterbutton (#22108)
- ModbusBridge request and response logic (#22075)
- Berry energy missing attributes
### Removed

View File

@ -57,7 +57,7 @@ extern "C" {
};
extern "C" const be_ctypes_structure_t be_energy_struct = {
sizeof(tEnergy), /* size in bytes */
68, /* number of elements */
108, /* number of elements */
be_ctypes_instance_mappings,
(const be_ctypes_structure_item_t[108]) {
{ "active_power", offsetof(tEnergy, active_power[0]), 0, 0, ctypes_float, 0 },