[am43] Fix battery update throttle using wrong type (#14864)

This commit is contained in:
Jonathan Swoboda
2026-03-16 15:42:13 -04:00
committed by GitHub
parent 9362d9745e
commit 0bbba75757

View File

@@ -35,7 +35,7 @@ class Am43 : public esphome::ble_client::BLEClientNode, public PollingComponent
uint8_t current_sensor_;
// The AM43 often gets into a state where it spams loads of battery update
// notifications. Here we will limit to no more than every 10s.
uint8_t last_battery_update_;
uint32_t last_battery_update_;
};
} // namespace am43