Skip to content

Commit

Permalink
v6.0.0-beta.38
Browse files Browse the repository at this point in the history
  • Loading branch information
seydx committed Jun 19, 2021
1 parent 0045840 commit 9488cb6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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-fritz-platform",
"version": "6.0.0-beta.37",
"version": "6.0.0-beta.38",
"description": "Homebridge Plugin to control FritzBox router, smarthome devices and more.",
"main": "index.js",
"funding": [
Expand Down
2 changes: 2 additions & 0 deletions src/accessories/childlock/childlock.handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ class Handler {

accessory.context.busy = true;

logger.info(`${state ? 'ON' : 'OFF'} (${subtype})`, `${accessory.displayName} (${subtype})`);

try {
await this.fritzbox.exec('urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1', 'DisallowWANAccessByIP', {
NewIPv4Address: accessory.context.config.ip,
Expand Down
1 change: 1 addition & 0 deletions src/accessories/extras/extras.handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ class Handler {
'dect',
'aw',
'deflection',
'reconnect',
];

try {
Expand Down
2 changes: 1 addition & 1 deletion src/accessories/router/router.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Config = (routerConfig, extrasConfig, optionsConfig) => {
validOptionCharacteristics.push('aw', 'broadband', 'dect', 'deflection');
}

if (routerConfig.connection !== 'dsl' || routerConfig.connection !== 'cable') {
if (routerConfig.connection !== 'repeater') {
validOptionsSwitches.push('reconnect');
validOptionCharacteristics.push('reconnect');
}
Expand Down
2 changes: 1 addition & 1 deletion src/accessories/router/router.handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ class Handler {
logger.info(`${state ? 'ON' : 'OFF'} (${subtype})`, `${accessory.displayName} (${subtype})`);

try {
let isDsl = accessory.context.config.conection === 'dsl';
let isDsl = accessory.context.config.connection === 'dsl';
let service = isDsl
? 'urn:WANPPPConnection-com:serviceId:WANPPPConnection1'
: 'urn:WANIPConnection-com:serviceId:WANIPConnection1';
Expand Down

0 comments on commit 9488cb6

Please sign in to comment.