mirror of
https://github.com/esphome/esphome.git
synced 2026-03-23 19:09:53 +08:00
[am43] Fix battery update throttle using wrong type (#14864)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user