--- title: "Xiaomi Switch" description: "Instructions on how to set up the Xiaomi switch within Home Assistant." ha_category: - Switch ha_release: "0.50" ha_iot_class: Local Push ha_domain: xiaomi_aqara --- The `xiaomi_aqara` switch platform allows you to get data from your [Xiaomi aqara](https://www.mi.com/en/) switches. The requirement is that you have set up [Xiaomi aqara](/integrations/xiaomi_aqara/).