From 9ca2210ce5cd8eba027026e5b89043e198d58fa6 Mon Sep 17 00:00:00 2001 From: danielpetrovic Date: Wed, 27 May 2026 19:18:36 +0200 Subject: [PATCH] Add XIO and LS60W to POST models, add LS60/LS60Wireless aliases XIO firmware 1.4.135 switched setData from GET to POST. LS60 firmware renamed the model ID from "LS60" to "LS60W" (reported in issue #18). Changes: - Add "XIO" and "LS60W" to _POST_MODELS - Remove "LS60" from _POST_MODELS (no longer the active model ID) - Add "LS60": "LS60W" alias for backward compat with older LS60 firmware - Add "LS60Wireless": "LS60W" alias for integrations using the product name Verified: XIO fw1.4.135 responds correctly after this change. --- pykefcontrol/kef_connector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykefcontrol/kef_connector.py b/pykefcontrol/kef_connector.py index a860488..f1a8e7a 100644 --- a/pykefcontrol/kef_connector.py +++ b/pykefcontrol/kef_connector.py @@ -6,8 +6,8 @@ import warnings -_POST_MODELS = {"LS50WII", "LSXIILT", "LSXII", "LS60"} -_MODEL_ALIASES = {"LS50W2": "LS50WII", "LSX2LT": "LSXIILT", "LSX2": "LSXII"} +_POST_MODELS = {"LS50WII", "LSXIILT", "LSXII", "LS60W", "XIO"} +_MODEL_ALIASES = {"LS50W2": "LS50WII", "LSX2LT": "LSXIILT", "LSX2": "LSXII", "LS60": "LS60W", "LS60Wireless": "LS60W"} class KefConnector: