Skip to content

Commit

Permalink
v4.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
seydx committed May 20, 2021
1 parent 6e4fbda commit 5769129
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v4.1.12 - 2021-05-20
- Fix [#127](https://github.com/SeydX/homebridge-bravia-tvos/issues/127)

## v4.1.11 - 2021-05-19
- Minor improvements & bugfixes
- Bump dependencies
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-bravia-tvos",
"version": "4.1.11",
"version": "4.1.12",
"description": "Homebridge plugin for Sony Bravia Android TVs",
"main": "index.js",
"repository": {
Expand Down
4 changes: 1 addition & 3 deletions src/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ function BraviaOSPlatform(log, config, api) {

if (config.remote && config.remote.length) {
config.remote.forEach((cmd) => {
// eslint-disable-next-line no-useless-escape
if (tv.remote[cmd.target] && /^[A]{5}[a-zA-Z0-9]{13}[\=]{2}$/.test(cmd.command))
tv.remote[cmd.target] = cmd.command;
if (tv.remote[cmd.target]) tv.remote[cmd.target] = cmd.command;
});
}

Expand Down

0 comments on commit 5769129

Please sign in to comment.