import json


def filter_xiaomi_aqara_battery_low(topic, message):
    """Ignore messages from Xiaomi Aqara when the battery is OK."""
    data = json.loads(message)
    if "battery" in data:
        return int(data["battery"]) > 20

    return True