Include Include Robot name in Homekit battery service name

This commit is contained in:
Luis Riegger
2021-02-07 15:27:57 +01:00
parent cc99ecef0d
commit c847481487
3 changed files with 15 additions and 12 deletions

View File

@@ -93,7 +93,7 @@ function KoboldVacuumRobotAccessory(platform, robotObject)
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)
{