Skip to content

Commit

Permalink
Minor fixes in the service and characteristic definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Jun 30, 2020
1 parent 057e09b commit e440320
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/Characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export class Characteristic extends EventEmitter<Events> {
static ReceiverSensitivity: typeof HomeKitTypes.Generated.ReceiverSensitivity;
static ReceivedSignalStrengthIndication: typeof HomeKitTypes.Generated.ReceivedSignalStrengthIndication;
static SleepInterval: typeof HomeKitTypes.Generated.SleepInterval;
static SignalToNoiseRation: typeof HomeKitTypes.Generated.SignalToNoiseRation;
static SignalToNoiseRatio: typeof HomeKitTypes.Generated.SignalToNoiseRatio;
static SupportedDiagnosticsSnapshot: typeof HomeKitTypes.Generated.SupportedDiagnosticsSnapshot;
static TransmitPower: typeof HomeKitTypes.Generated.TransmitPower;
static TransmitPowerMaximum: typeof HomeKitTypes.Generated.TransmitPowerMaximum;
Expand Down
8 changes: 4 additions & 4 deletions src/lib/gen/HomeKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3964,12 +3964,12 @@ Characteristic.SleepInterval = SleepInterval;
/**
* Characteristic "Signal-to-noise Ration"
*/
export class SignalToNoiseRation extends Characteristic {
export class SignalToNoiseRatio extends Characteristic {

static readonly UUID: string = '0000021E-0000-1000-8000-00000241';

constructor() {
super("Signal-to-noise Ration", SignalToNoiseRation.UUID);
super("Signal-to-noise Ration", SignalToNoiseRatio.UUID);
this.setProps({
format: Formats.INT,
perms: [Perms.PAIRED_READ],
Expand All @@ -3979,7 +3979,7 @@ export class SignalToNoiseRation extends Characteristic {

}

Characteristic.SignalToNoiseRation = SignalToNoiseRation;
Characteristic.SignalToNoiseRatio = SignalToNoiseRatio;

/**
* Characteristic "Supported Diagnostics Snapshot"
Expand Down Expand Up @@ -5231,7 +5231,7 @@ export class WiFiRouter extends Service {
// Required Characteristics
this.addCharacteristic(Characteristic.ConfiguredName);
this.addCharacteristic(Characteristic.ManagedNetworkEnable);
this.addCharacteristic(NetworkAccessViolationControl);
this.addCharacteristic(Characteristic.NetworkAccessViolationControl);
this.addCharacteristic(Characteristic.NetworkClientProfileControl);
this.addCharacteristic(Characteristic.NetworkClientStatusControl);
this.addCharacteristic(Characteristic.RouterStatus);
Expand Down

0 comments on commit e440320

Please sign in to comment.