forked from CyrielRct/midea_ac_lan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2aa1ac
commit d454555
Showing
57 changed files
with
1,091 additions
and
890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Bathroom Master | ||
## Features | ||
- Supports preset mode | ||
- Supports fan direction setting | ||
|
||
## Entities | ||
### Default entity | ||
No Default entity | ||
|
||
### Extra entities | ||
|
||
| EntityID | Class | Description | | ||
|---------------------------------------|--------|---------------------| | ||
| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | | ||
| switch.{DEVICEID}_main_light | switch | Main Light | | ||
| switch.{DEVICEID}_night_light | switch | Night Light | | ||
| select.{DEVICEID}_mode | select | Mode | | ||
| select.{DEVICEID}_direction | select | Fan direction | | ||
|
||
## Service | ||
|
||
### midea_ac_lan.set_attribute | ||
|
||
[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) | ||
|
||
Set the attribute of appliance. Service data: | ||
|
||
| Name | Description | | ||
|-----------|---------------------------------------------| | ||
| device_id | The Appliance code (Device ID) of appliance | | ||
| attribute | "main_light"<br/>"night_light" | | ||
| value | true or false | | ||
|
||
| Name | Description | | ||
|-----------|------------------------------------------------------------------------------------------| | ||
| device_id | The Appliance code (Device ID) of appliance | | ||
| attribute | "mode" | | ||
| value | "Off"<br/>"Heat(high)"<br/>"Heat(low)"<br/>"Bath"<br/>"Blow"<br/>"Ventilation"<br/>"Dry" | | ||
|
||
| Name | Description | | ||
|-----------|---------------------------------------------------------| | ||
| device_id | The Appliance code (Device ID) of appliance | | ||
| attribute | "direction" | | ||
| value | 60<br/>70<br/>80<br/>90<br/>100<br/>110<br/>"Oscillate" | | ||
|
||
Example | ||
``` | ||
service: midea_ac_lan.set_attribute | ||
data: | ||
device_id: XXXXXXXXXXXX | ||
attribute: main_light | ||
value: true | ||
``` | ||
|
||
``` | ||
service: midea_ac_lan.set_attribute | ||
data: | ||
device_id: XXXXXXXXXXXX | ||
attribute: mode | ||
value: Bath | ||
``` | ||
|
||
``` | ||
service: midea_ac_lan.set_attribute | ||
data: | ||
device_id: XXXXXXXXXXXX | ||
attribute: direction | ||
value: 70 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# 浴霸 | ||
## 特性 | ||
- 支持模式设定 | ||
- 支持风向调整 | ||
|
||
## 实体 | ||
### 默认实体 | ||
无默认实体 | ||
|
||
### 扩展实体 | ||
|
||
| 实体ID | 类型 | 名称 | 描述 | | ||
|---------------------------------------|--------|---------------------|------| | ||
| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 | | ||
| switch.{DEVICEID}_main_light | switch | Main Light | 主灯 | | ||
| switch.{DEVICEID}_night_light | switch | Night Light | 夜灯 | | ||
| select.{DEVICEID}_mode | select | Mode | 模式 | | ||
| select.{DEVICEID}_direction | select | Fan direction | 风向 | | ||
|
||
## 服务 | ||
|
||
### midea_ac_lan.set_attribute | ||
|
||
[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) | ||
|
||
设置设备属性, 服务数据: | ||
|
||
| 名称 | 描述 | | ||
|-----------|--------------------------------| | ||
| device_id | 设备的编号(Device ID) | | ||
| attribute | "main_light"<br/>"night_light" | | ||
| value | true 或 false | | ||
|
||
| 名称 | 描述 | | ||
|-----------|------------------------------------------------------------------------------------------| | ||
| device_id | 设备的编号(Device ID) | | ||
| attribute | "mode" | | ||
| value | "Off"<br/>"Heat(high)"<br/>"Heat(low)"<br/>"Bath"<br/>"Blow"<br/>"Ventilation"<br/>"Dry" | | ||
|
||
| 名称 | 描述 | | ||
|-----------|---------------------------------------------------------| | ||
| device_id | 设备的编号(Device ID) | | ||
| attribute | "direction" | | ||
| value | 60<br/>70<br/>80<br/>90<br/>100<br/>110<br/>"Oscillate" | | ||
|
||
示例 | ||
``` | ||
service: midea_ac_lan.set_attribute | ||
data: | ||
device_id: XXXXXXXXXXXX | ||
attribute: main_light | ||
value: true | ||
``` | ||
|
||
``` | ||
service: midea_ac_lan.set_attribute | ||
data: | ||
device_id: XXXXXXXXXXXX | ||
attribute: mode | ||
value: Bath | ||
``` | ||
|
||
``` | ||
service: midea_ac_lan.set_attribute | ||
data: | ||
device_id: XXXXXXXXXXXX | ||
attribute: direction | ||
value: 70 | ||
``` |
Oops, something went wrong.