diff --git a/lib/logitech_receiver/diversion.py b/lib/logitech_receiver/diversion.py index f504950ab5..78acbb6a72 100644 --- a/lib/logitech_receiver/diversion.py +++ b/lib/logitech_receiver/diversion.py @@ -865,6 +865,9 @@ def __init__(self, args, warn=True): if isinstance(key, str) and key in CONTROL: self.key = CONTROL[key] + elif isinstance(key, str) and key.startswith("unknown:"): + logger.info(f"rule Key key name currently unknown: {key}") + self.key = CONTROL[int(key[-4:], 16)] else: if warn: logger.warning(f"rule Key key name not name of a Logitech key: {key}")