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 21, 2023
2 parents f56e74d + 523e847 commit 9f26783
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
4 changes: 2 additions & 2 deletions custom_components/xiaomi_miio_cooker/manifest.json
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_cooker/issues",
"requirements": [
"construct==2.10.56",
"construct==2.10.68",
"python-miio>=0.5.12"
],
"version": "2023.6.0.0"
"version": "2023.12.0.0"
}
16 changes: 13 additions & 3 deletions custom_components/xiaomi_miio_cooker/services.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
start:
name: Start cooking
description: Start cooking a profile.
fields:
entity_id:
name: Entity ID
description: Name of the xiaomi miio entity.
example: "xiaomi_miio_cooker.xiaomi_miio_device"
selector:
entity:
integration: xiaomi_miio_cooker
domain: xiaomi_miio_cooker
profile:
name: Profile
description: Profile data which describes the temperature curve.
example: 0001E10100000000000080026E10082B126E1412698CAA555555550014280A6E0C02050506050505055A14040A0C0C0D00040505060A0F086E6E20000C0A5A28036468686A0004040500000000000000010202020204040506070708001212180C1E2D2D37000000000000000000000099A5

stop:
name: Stop cooking
description: Stop the cooking process.
fields:
entity_id:
name: Entity ID
description: Name of the xiaomi miio entity.
example: "xiaomi_miio_cooker.xiaomi_miio_device"

selector:
entity:
integration: xiaomi_miio_cooker
domain: xiaomi_miio_cooker
28 changes: 28 additions & 0 deletions custom_components/xiaomi_miio_cooker/strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"services": {
"start": {
"name": "Start cooking",
"description": "Start cooking a profile.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "Name of the xiaomi miio entity."
},
"profile": {
"name": "Profile",
"description": "Profile data which describes the temperature curve."
}
}
},
"stop": {
"name": "Stop cooking",
"description": "Stop the cooking process.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "Name of the xiaomi miio entity."
}
}
}
}
}

0 comments on commit 9f26783

Please sign in to comment.