Skip to content

Commit

Permalink
release 1.11.8
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz914 committed Jul 23, 2022
1 parent e30e90e commit 6569ffa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [1.11.8] - (23.07.2022)
## Changes
- refactor information service

## [1.11.7] - (13.06.2022)
## Changes
- fix [#130](https://github.com/grzegorz914/homebridge-lgwebos-tv/issues/130)
Expand Down
Binary file removed graphics/.homekit.png.icloud
Binary file not shown.
Binary file added graphics/homekit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,14 +484,11 @@ class lgwebosTvDevice {
const firmwareRevision = devInfo.firmwareRevision;
const webOS = devInfo.webOS;

accessory.removeService(accessory.getService(Service.AccessoryInformation));
const informationService = new Service.AccessoryInformation(accessoryName)
.setCharacteristic(Characteristic.Name, accessoryName)
accessory.getService(Service.AccessoryInformation)
.setCharacteristic(Characteristic.Manufacturer, manufacturer)
.setCharacteristic(Characteristic.Model, modelName)
.setCharacteristic(Characteristic.SerialNumber, serialNumber)
.setCharacteristic(Characteristic.FirmwareRevision, firmwareRevision);
accessory.addService(informationService);

this.webOS = webOS;
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "LG webOS TV",
"name": "homebridge-lgwebos-tv",
"version": "1.11.7",
"version": "1.11.8",
"description": "Homebridge plugin (https://github.com/homebridge/homebridge) to control LG webOS TV.",
"license": "MIT",
"author": "grzegorz914",
Expand Down

0 comments on commit 6569ffa

Please sign in to comment.