--- layout: page title: "Xiaomi Switch" description: "Instructions how to setup the Xiaomi switch within Home Assistant." date: 2017-07-21 16:34 sidebar: true comments: false sharing: true footer: true logo: xiaomi.png ha_category: Switch ha_release: "0.50" ha_iot_class: "Local Push" --- The `xiaomi aqara` switch platform allows you to get data from your [Xiaomi aqara](http://www.mi.com/en/) switches. The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/).