-
Notifications
You must be signed in to change notification settings - Fork 22
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
fd63a03
commit f90ecd2
Showing
6 changed files
with
226 additions
and
233 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
{ | ||
"domain": "midea_ac_lan", | ||
"name": "Midea AC LAN", | ||
"codeowners": [ | ||
"@wuwentao", | ||
"@rokam", | ||
"@chemelli74" | ||
], | ||
"codeowners": ["@wuwentao", "@rokam", "@chemelli74"], | ||
"config_flow": true, | ||
"dependencies": [], | ||
"documentation": "https://github.com/wuwentao/midea_ac_lan#readme", | ||
"integration_type": "device", | ||
"iot_class": "local_push", | ||
"issue_tracker": "https://github.com/wuwentao/midea_ac_lan/issues", | ||
"requirements": [ | ||
"pycryptodome", | ||
"midea-local==1.0.3" | ||
], | ||
"requirements": ["pycryptodome", "midea-local==1.0.3"], | ||
"version": "v0.4.0-alpha" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,119 +1,119 @@ | ||
{ | ||
"config": { | ||
"error": { | ||
"preset_account": "Failed to login with preset account, please report this issue", | ||
"login_failed": "Failed to login, account or password was wrong", | ||
"no_devices": "No new available appliances found on the network", | ||
"device_exist": "Appliance is already configured", | ||
"config_incorrect": "The configuration is incorrect", | ||
"connect_error": "Can't connect to appliance", | ||
"invalid_token": "Token or Key in an incorrect format" | ||
"config": { | ||
"error": { | ||
"preset_account": "Failed to login with preset account, please report this issue", | ||
"login_failed": "Failed to login, account or password was wrong", | ||
"no_devices": "No new available appliances found on the network", | ||
"device_exist": "Appliance is already configured", | ||
"config_incorrect": "The configuration is incorrect", | ||
"connect_error": "Can't connect to appliance", | ||
"invalid_token": "Token or Key in an incorrect format" | ||
}, | ||
"step": { | ||
"user": { | ||
"data": { | ||
"way": "Adding appliances" | ||
}, | ||
"description": "Choose the way to add a appliance", | ||
"title": "Add new appliance" | ||
}, | ||
"login": { | ||
"data": { | ||
"account": "Account", | ||
"password": "Password" | ||
}, | ||
"step": { | ||
"user": { | ||
"data": { | ||
"way": "Adding appliances" | ||
}, | ||
"description": "Choose the way to add a appliance", | ||
"title": "Add new appliance" | ||
}, | ||
"login": { | ||
"data": { | ||
"account": "Account", | ||
"password": "Password" | ||
}, | ||
"description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.", | ||
"title": "Login" | ||
}, | ||
"discovery": { | ||
"description": "IP address for device, enter \"auto\" to discover automatically\nYou can also use an IP address to search within a specified network, such as \"192.168.1.255\"", | ||
"title": "Search", | ||
"data": { | ||
"ip_address": "IP address" | ||
} | ||
}, | ||
"list":{ | ||
"description": "{table}", | ||
"title": "Appliances" | ||
}, | ||
"auto": { | ||
"data": { | ||
"device": "Appliances" | ||
}, | ||
"description": "Choose a appliance to add", | ||
"title": "New appliance found" | ||
}, | ||
"manually": { | ||
"data": { | ||
"name": "Name (e.g. Living room AC)", | ||
"device_id": "Appliance code", | ||
"type": "Type", | ||
"ip_address": "IP address", | ||
"port": "Port", | ||
"model": "Model", | ||
"subtype": "Subtype", | ||
"protocol": "Protocol", | ||
"token": "Token", | ||
"key": "Key" | ||
}, | ||
"description": "Configuration of appliance", | ||
"title": "New appliance" | ||
} | ||
"description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.", | ||
"title": "Login" | ||
}, | ||
"discovery": { | ||
"description": "IP address for device, enter \"auto\" to discover automatically\nYou can also use an IP address to search within a specified network, such as \"192.168.1.255\"", | ||
"title": "Search", | ||
"data": { | ||
"ip_address": "IP address" | ||
} | ||
}, | ||
"list": { | ||
"description": "{table}", | ||
"title": "Appliances" | ||
}, | ||
"auto": { | ||
"data": { | ||
"device": "Appliances" | ||
}, | ||
"description": "Choose a appliance to add", | ||
"title": "New appliance found" | ||
}, | ||
"manually": { | ||
"data": { | ||
"name": "Name (e.g. Living room AC)", | ||
"device_id": "Appliance code", | ||
"type": "Type", | ||
"ip_address": "IP address", | ||
"port": "Port", | ||
"model": "Model", | ||
"subtype": "Subtype", | ||
"protocol": "Protocol", | ||
"token": "Token", | ||
"key": "Key" | ||
}, | ||
"description": "Configuration of appliance", | ||
"title": "New appliance" | ||
} | ||
} | ||
}, | ||
"options": { | ||
"step": { | ||
"init": { | ||
"data": { | ||
"ip_address": "IP address", | ||
"refresh_interval": "Refresh interval (0 means not refreshing actively)", | ||
"sensors": "Extra sensors", | ||
"switches": "Extra controls", | ||
"customize": "Customize" | ||
}, | ||
"title": "Configure" | ||
} | ||
}, | ||
"options": { | ||
"step": { | ||
"init": { | ||
"data": { | ||
"ip_address": "IP address", | ||
"refresh_interval": "Refresh interval (0 means not refreshing actively)", | ||
"sensors": "Extra sensors", | ||
"switches": "Extra controls", | ||
"customize": "Customize" | ||
}, | ||
"title": "Configure" | ||
} | ||
"abort": { | ||
"account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device." | ||
} | ||
}, | ||
"services": { | ||
"set_attribute": { | ||
"name": "Set attribute", | ||
"description": "Set the attribute value of device", | ||
"fields": { | ||
"device_id": { | ||
"name": "Appliance code", | ||
"description": "The appliance code (Device ID) of appliance" | ||
}, | ||
"abort": { | ||
"account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device." | ||
"attribute": { | ||
"name": "Attribute", | ||
"description": "The attribute name want to set" | ||
}, | ||
"value": { | ||
"name": "Value", | ||
"description": "The attribute value want to set" | ||
} | ||
} | ||
}, | ||
"services": { | ||
"set_attribute": { | ||
"name": "Set attribute", | ||
"description": "Set the attribute value of device", | ||
"fields" : { | ||
"device_id": { | ||
"name": "Appliance code", | ||
"description": "The appliance code (Device ID) of appliance" | ||
}, | ||
"attribute": { | ||
"name": "Attribute", | ||
"description": "The attribute name want to set" | ||
}, | ||
"value": { | ||
"name": "Value", | ||
"description": "The attribute value want to set" | ||
} | ||
} | ||
"send_command": { | ||
"name": "Customize command", | ||
"description": "Send a customize command to device", | ||
"fields": { | ||
"device_id": { | ||
"name": "Appliance code", | ||
"description": "The appliance code (Device ID) of appliance" | ||
}, | ||
"cmd_type": { | ||
"name": "command type", | ||
"description": "The type of command,should be 3(query) or 2(set)" | ||
}, | ||
"send_command": { | ||
"name": "Customize command", | ||
"description": "Send a customize command to device", | ||
"fields" : { | ||
"device_id": { | ||
"name": "Appliance code", | ||
"description": "The appliance code (Device ID) of appliance" | ||
}, | ||
"cmd_type": { | ||
"name": "command type", | ||
"description": "The type of command,should be 3(query) or 2(set)" | ||
}, | ||
"cmd_body": { | ||
"name": "command body", | ||
"description": "The body of command, (not include MSmart protocol head and checksum at the end)" | ||
} | ||
} | ||
"cmd_body": { | ||
"name": "command body", | ||
"description": "The body of command, (not include MSmart protocol head and checksum at the end)" | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -116,4 +116,4 @@ | |
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.