Skip to content
Home Assistant TestFlight
Xiaomi

Xiaomi KS1 / KS1BP button

Buttons and Remotes · Lighting

WorksLocal

1 report: 1 says it works.

Reported with 1 integration: Passive BLE monitor.

What people report

IntegrationIn Home AssistantIn Apple HomeWhat they saidSource
Passive BLE monitorWorks LocalInvalid button events no longer crash parser
Saved copy
Summary Prevent invalid Xiaomi KS1/KS1BP button events from causing parser exceptions. ## Problem `obj560c()`, `obj560d()`, and `obj560e()` returned `None` for unrecognized click values and unsupported device types. The Xiaomi parser passes object-parser results directly to `dict.update()`, so these cases could result in: `TypeError: 'NoneType' object is not iterable` Both the device identifier and click value originate from the BLE advertisement and may contain unexpected values. ## Fix Return an empty result for unrecognized click values and unsupported device types instead of `None`. …

Excerpt saved from GitHub on 2026-10-23.

PR #1585 · 2026-09

Each row is one report from a GitHub thread, an integration’s docs, or r/homeassistant. Check the date and the linked source before you buy.

In ReReHome

Once Home Assistant’s HomeKit Bridge shares it, this device reaches Apple Home as a HomeKit accessory behind your Home Assistant bridge, so ReReHome shows and controls it like any other.

Identifiers

BrandXiaomi
ModelKS1BP
CategoryButtons and Remotes