diff --git a/source/_components/binary_sensor.xiaomi.markdown b/source/_components/binary_sensor.xiaomi_aqara.markdown similarity index 97% rename from source/_components/binary_sensor.xiaomi.markdown rename to source/_components/binary_sensor.xiaomi_aqara.markdown index a63cacd9f44..d8a24ca727a 100644 --- a/source/_components/binary_sensor.xiaomi.markdown +++ b/source/_components/binary_sensor.xiaomi_aqara.markdown @@ -14,9 +14,9 @@ ha_iot_class: "Local Push" --- -The `xiaomi` binary sensor platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) binary sensors. +The `xiaomi aqara` binary sensor platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) binary sensors. -The requirement is that you have setup the [`xiaomi` component](/components/xiaomi/). +The requirement is that you have setup the [`xiaomi aqara` component](/components/xiaomi_aqara/). ### {% linkable_title Type of sensors supported %} @@ -118,7 +118,7 @@ The requirement is that you have setup the [`xiaomi` component](/components/xiao data: title: Fire alarm! message: Fire/Smoke detected! - - service: xiaomi.play_ringtone + - service: xiaomi_aqara.play_ringtone data: gw_mac: xxxxxxxxxxxx ringtone_id: 2 @@ -174,7 +174,7 @@ Available events are `single`, `double`, `hold`, `long_click_press` and `long_cl entity_id: binary_sensor.switch_158d000xxxxxc2 click_type: long_click_press action: - service: xiaomi.play_ringtone + service: xiaomi_aqara.play_ringtone data: gw_mac: xxxxxxxxxxxx ringtone_id: 8 diff --git a/source/_components/cover.xiaomi.markdown b/source/_components/cover.xiaomi_aqara.markdown similarity index 60% rename from source/_components/cover.xiaomi.markdown rename to source/_components/cover.xiaomi_aqara.markdown index 5c7aa9e4d70..d2bbdf5fa9d 100644 --- a/source/_components/cover.xiaomi.markdown +++ b/source/_components/cover.xiaomi_aqara.markdown @@ -14,7 +14,7 @@ ha_iot_class: "Local Push" --- -The `xiaomi` cover platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) covers. +The `xiaomi aqara` cover platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) covers. -The requirement is that you have setup [Xiaomi](/components/xiaomi/). +The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/). diff --git a/source/_components/light.xiaomi.markdown b/source/_components/light.xiaomi_aqara.markdown similarity index 60% rename from source/_components/light.xiaomi.markdown rename to source/_components/light.xiaomi_aqara.markdown index f33a907fc3d..561cf132c29 100644 --- a/source/_components/light.xiaomi.markdown +++ b/source/_components/light.xiaomi_aqara.markdown @@ -14,7 +14,7 @@ ha_iot_class: "Local Push" --- -The `xiaomi` light platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) lights. +The `xiaomi aqara` light platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) lights. -The requirement is that you have setup [Xiaomi](/components/xiaomi/). +The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/). diff --git a/source/_components/light.xiaomi_philipslight.markdown b/source/_components/light.xiaomi_miio.markdown similarity index 85% rename from source/_components/light.xiaomi_philipslight.markdown rename to source/_components/light.xiaomi_miio.markdown index de6d95cf6f3..1aaaba39a38 100644 --- a/source/_components/light.xiaomi_philipslight.markdown +++ b/source/_components/light.xiaomi_miio.markdown @@ -13,7 +13,7 @@ ha_version: 0.53 ha_iot_class: "Local Polling" --- -The `xiaomi_philipslight` platform allows you to control the state of your Xiaomi Philips LED Ball Lamp and Xiaomi Philips LED Ceiling Lamp. +The `xiaomi_miio` platform allows you to control the state of your Xiaomi Philips LED Ball Lamp and Xiaomi Philips LED Ceiling Lamp. Currently, the supported features are `on`, `off`, `set_cct` (colortemp) , `set_bright` (brightness). @@ -24,7 +24,7 @@ To add a Xiaomi Philips Light to your installation, add the following to your co ```yaml # Example configuration.yaml entries light: - - platform: xiaomi_philipslight + - platform: xiaomi_miio name: Xiaomi Philips Smart LED Ball host: 192.168.130.67 token: YOUR_TOKEN diff --git a/source/_components/sensor.xiaomi.markdown b/source/_components/sensor.xiaomi_aqara.markdown similarity index 60% rename from source/_components/sensor.xiaomi.markdown rename to source/_components/sensor.xiaomi_aqara.markdown index 3e9f776380f..247a9a94c9e 100644 --- a/source/_components/sensor.xiaomi.markdown +++ b/source/_components/sensor.xiaomi_aqara.markdown @@ -14,7 +14,7 @@ ha_iot_class: "Local Push" --- -The `xiaomi` sensor platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) sensors. +The `xiaomi aqara` sensor platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) sensors. -The requirement is that you have setup [Xiaomi](/components/xiaomi/). +The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/). diff --git a/source/_components/switch.xiaomi.markdown b/source/_components/switch.xiaomi_aqara.markdown similarity index 59% rename from source/_components/switch.xiaomi.markdown rename to source/_components/switch.xiaomi_aqara.markdown index f710778f911..f207229beed 100644 --- a/source/_components/switch.xiaomi.markdown +++ b/source/_components/switch.xiaomi_aqara.markdown @@ -14,7 +14,7 @@ ha_iot_class: "Local Push" --- -The `xiaomi` switch platform allows you to get data from your [Xiaomi](http://www.mi.com/en/) switches. +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](/components/xiaomi/). +The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/). diff --git a/source/_components/vacuum.xiaomi.markdown b/source/_components/vacuum.xiaomi_miio.markdown similarity index 97% rename from source/_components/vacuum.xiaomi.markdown rename to source/_components/vacuum.xiaomi_miio.markdown index 4968bf53796..8322eb7c41a 100644 --- a/source/_components/vacuum.xiaomi.markdown +++ b/source/_components/vacuum.xiaomi_miio.markdown @@ -13,7 +13,7 @@ ha_release: 0.51 ha_iot_class: "Local Polling" --- -The `xiaomi` vacuum platform allows you to control the state of your [Xiaomi Mi Robot Vacuum](http://www.mi.com/roomrobot/). +The `xiaomi miio` vacuum platform allows you to control the state of your [Xiaomi Mi Robot Vacuum](http://www.mi.com/roomrobot/). Current supported features are `turn_on`, `pause`, `stop`, `return_to_home`, `turn_off` (stops goes to dock), `locate`, `clean_spot`, `set_fanspeed` and even remote control your robot. @@ -24,7 +24,7 @@ To add a vacuum to your installation, add the following to your `configuration.y ```yaml # Example configuration.yaml entry vacuum: - - platform: xiaomi + - platform: xiaomi_miio host: 192.168.1.2 token: YOUR_TOKEN ``` diff --git a/source/_components/xiaomi.markdown b/source/_components/xiaomi_aqara.markdown similarity index 94% rename from source/_components/xiaomi.markdown rename to source/_components/xiaomi_aqara.markdown index 432af9e1da6..9d4ea1ca984 100644 --- a/source/_components/xiaomi.markdown +++ b/source/_components/xiaomi_aqara.markdown @@ -13,7 +13,7 @@ ha_release: "0.50" ha_iot_class: "Local Push" --- -The `xiaomi` platform allows you to integrate the following [Xiaomi](http://www.mi.com/en/) devices into Home Assistant. +The `xiaomi aqara` platform allows you to integrate the following [Xiaomi](http://www.mi.com/en/) devices into Home Assistant. - Temperature and Humidity Sensor (1st and 2nd generation) - Motion Sensor (1st and 2nd generation) @@ -52,7 +52,7 @@ To enable Xiaomi gateway in your installation, add the following to your `config ```yaml # You can leave mac empty if you only have one gateway. -xiaomi: +xiaomi_aqara: gateways: - mac: key: xxxxxxxxxxxxxxxx @@ -62,7 +62,7 @@ xiaomi: ```yaml # 12 characters mac can be obtained from the gateway. -xiaomi: +xiaomi_aqara: gateways: - mac: xxxxxxxxxxxx key: xxxxxxxxxxxxxxxx @@ -74,7 +74,7 @@ xiaomi: ```yaml # 12 characters MAC can be obtained from the gateway. -xiaomi: +xiaomi_aqara: interface: '192.168.0.1' gateways: - mac: xxxxxxxxxxxx @@ -108,7 +108,7 @@ Automation example entity_id: binary_sensor.switch_158d000xxxxxc2 click_type: long_click_press action: - service: xiaomi.play_ringtone + service: xiaomi_aqara.play_ringtone data: gw_mac: xxxxxxxxxxxx ringtone_id: 8 @@ -122,7 +122,7 @@ Automation example entity_id: binary_sensor.switch_158d000xxxxxc2 click_type: single action: - service: xiaomi.stop_ringtone + service: xiaomi_aqara.stop_ringtone data: gw_mac: xxxxxxxxxxxx ```