Skip to content

Commit

Permalink
Merge branch 'release/2023.12.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Dec 24, 2023
2 parents 7afb329 + 337bc85 commit 20fd372
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/syssi/xiaomi_airconditioningcompanion/issues",
"requirements": [
"construct==2.10.56",
"construct==2.10.68",
"python-miio>=0.5.12"
],
"version": "2023.6.0.4"
"version": "2023.12.0.0"
}
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
climate_learn_command:
description: 'Learn an IR command, press "Call Service", point the remote at the IR device, and the learned command will be shown as a notification in Overview.'
name: Learn command
description: Learn an IR command, press "Call Service", point the remote at the IR device, and the learned command will be shown as a notification in Overview.
fields:
entity_id:
description: "Name of the entity to learn command from."
example: "xiaomi_miio_airconditioningcompanion.xiaomi_miio_device"
name: Entity ID
description: Name of the xiaomi miio airconditioningcompanion entity.
selector:
entity:
integration: xiaomi_miio_airconditioningcompanion
domain: climate
slot:
description: "Define the slot used to save the IR command. Defaults to slot ID 30."
example: "30"
name: Slot
description: Define the slot used to save the IR command. Defaults to slot ID 30.
example: 30
timeout:
description: "Define the timeout in seconds, before which the command must be learned."
example: "30"
name: Timeout
description: Define the timeout in seconds, before which the command must be learned.
example: 30

climate_send_command:
description: 'Send captured infrared command or device configuration.'
name: Send command
description: Send captured infrared command or device configuration.
fields:
entity_id:
description: "Name of the acpartner entity."
example: "xiaomi_miio_airconditioningcompanion.xiaomi_miio_device"
name: Entity ID
description: Name of the xiaomi miio airconditioningcompanion entity.
selector:
entity:
integration: xiaomi_miio_airconditioningcompanion
domain: climate
command:
description: "Infrared command. Must start with FE or 01."
name: Command
description: Infrared command. Must start with FE or 01.
num_repeats:
name: Repeats
description: The number of times you want to repeat the command(s).
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"services": {
"climate_learn_command": {
"name": "Learn command",
"description": "Learn an IR command, press \"Call Service\", point the remote at the IR device, and the learned command will be shown as a notification in Overview.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "Name of the xiaomi miio airconditioningcompanion entity."
},
"slot": {
"name": "Slot",
"description": "Define the slot used to save the IR command. Defaults to slot ID 30."
},
"timeout": {
"name": "Timeout",
"description": "Define the timeout in seconds, before which the command must be learned."
}
}
},
"climate_send_command": {
"name": "Send command",
"description": "Send captured infrared command or device configuration.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "Name of the xiaomi miio airconditioningcompanion entity."
},
"command": {
"name": "Command",
"description": "Infrared command. Must start with FE or 01."
},
"num_repeats": {
"name": "Repeats",
"description": "The number of times you want to repeat the command(s)."
},
"delay_secs": {
"name": "Delay Seconds",
"description": "The time you want to wait in between repeated commands."
}
}
}
}
}

0 comments on commit 20fd372

Please sign in to comment.