Include Include Robot name in Homekit battery service name
This commit is contained in:
parent
cc99ecef0d
commit
c847481487
@ -121,3 +121,6 @@
|
|||||||
## 0.8.0
|
## 0.8.0
|
||||||
* Add German plugin language (for example, this gives you a "Sauge Küche" Siri command for a zone called "Küche")
|
* Add German plugin language (for example, this gives you a "Sauge Küche" Siri command for a zone called "Küche")
|
||||||
* Added possibility to toggle between languages (English/German) in Homebridge UI Plugin Settings
|
* Added possibility to toggle between languages (English/German) in Homebridge UI Plugin Settings
|
||||||
|
|
||||||
|
## 0.8.1
|
||||||
|
* Include Robot name in Homekit battery service name
|
20
README.md
20
README.md
@ -49,11 +49,11 @@ Add the following information to your config file. Change the values for email a
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
"platforms": [
|
"platforms": [
|
||||||
{
|
{
|
||||||
"platform": "KoboldVacuumRobot",
|
"platform": "KoboldVacuumRobot",
|
||||||
"token": "YourToken",
|
"token": "YourToken",
|
||||||
"language": "de"
|
"language": "de"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -112,13 +112,13 @@ List of plugin features that you don't want to use in homekit (e.g. `dock`, `doc
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
"platforms": [
|
"platforms": [
|
||||||
{
|
{
|
||||||
"platform": "KoboldVacuumRobot",
|
"platform": "KoboldVacuumRobot",
|
||||||
"token": "YourToken",
|
"token": "YourToken",
|
||||||
"refresh": "120",
|
"refresh": "120",
|
||||||
"hidden": ["dock", "dockstate", "eco", "nogolines", "extracare", "schedule", "find", "spot"],
|
"hidden": ["dock", "dockstate", "eco", "nogolines", "extracare", "schedule", "find", "spot"],
|
||||||
"language": "de"
|
"language": "de"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ function KoboldVacuumRobotAccessory(platform, robotObject)
|
|||||||
this.name = this.robot.name + ' - ' + this.boundary.name;
|
this.name = this.robot.name + ' - ' + this.boundary.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.batteryService = new Service.BatteryService(this.dict["battery"], "battery");
|
this.batteryService = new Service.BatteryService(this.name + " " + this.dict["battery"], "battery");
|
||||||
|
|
||||||
if (this.boundary == null)
|
if (this.boundary == null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user