Skip to content

Commit

Permalink
Add mac address to log message
Browse files Browse the repository at this point in the history
  • Loading branch information
LaStrada committed Jan 1, 2025
1 parent 75f340b commit a08f4c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions airthings_ble/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,9 @@ async def _wave_enhance_sensor_data(
"""Get sensor data from the Wave Enhance."""
if self.device_info.model.need_firmware_upgrade(self.device_info.sw_version):
self.logger.warning(
"The firmware for this Wave Enhance is not up to date, "
"please update to 2.6.1 or newer using the Airthings app."
"The firmware for this Wave Enhance (%s) is not up to date, "
"please update to 2.6.1 or newer using the Airthings app.",
self.device_info.address,
)
device.firmware = AirthingsFirmware(
need_fw_upgrade=True,
Expand Down

0 comments on commit a08f4c4

Please sign in to comment.