Update service domains for xiaomi_miio from base domains to xiaomi_miio domain (#29134)

* move service constants to const.py, move all custom xiaomi_miio services to xiaomi_miio domain

* update service names

* try to fix black error

* try black formatting again

* final black formatting attempt

* update service names to reflect platform

* fix typo
This commit is contained in:
Raman Gupta authored and Paulus Schoutsen committed 2019-12-02 11:49:39 -08:00
1 parent ffaa0e572a
commit 040fd9c258
13 files changed
+420 -319

No files matched your search

@@ -20,34 +20,3 @@ toggle:
entity_id:
description: Name(s) of entities to toggle.
example: 'switch.living_room'
xiaomi_miio_set_wifi_led_on:
description: Turn the wifi led on.
fields:
entity_id:
description: Name of the xiaomi miio entity.
example: 'switch.xiaomi_miio_device'
xiaomi_miio_set_wifi_led_off:
description: Turn the wifi led off.
fields:
entity_id:
description: Name of the xiaomi miio entity.
example: 'switch.xiaomi_miio_device'
xiaomi_miio_set_power_price:
description: Set the power price.
fields:
entity_id:
description: Name of the xiaomi miio entity.
example: 'switch.xiaomi_miio_device'
mode:
description: Power price, between 0 and 999.
example: 31
xiaomi_miio_set_power_mode:
description: Set the power mode.
fields:
entity_id:
description: Name of the xiaomi miio entity.
example: 'switch.xiaomi_miio_device'
mode:
description: Power mode, valid values are 'normal' and 'green'.
example: 'green'