celsworth / lxp-bridge

A bridge to MQTT/InfluxDB/Postgres for communications with LuxPower inverters
MIT License
9 stars 14 forks source link

Fix charge_priority_en in hold/21/bits message #201

Closed celsworth closed 11 months ago

celsworth commented 11 months ago

charge_priority_en in hold/21/bits was incorrectly using bit 1, not bit 11.

This meant HA didn't see the correct value for Charge Priority enabled/disabled.

Fixes #200