Moving 31 KNX Switches from the Home Assistant UI into knx.yaml
The author had 33 KNX switches in Home Assistant that existed only in the UI store, which sits outside their Git repository. In September they migrated 31 of these switches into knx.yaml and removed two switches they no longer wanted. Because the integration loads both sources and creates an entity for each definition, adding the YAML before deleting the UI entries would have produced duplicate switches, so the UI entities were removed first. The author also corrected nine state addresses that the actuators never answered, and used a local script that relied on Home Assistant's websocket API and a long-lived access token. Backups of the KNX store, the entity registry and knx.yaml were taken before the first deletion.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in