Skip to content

Commit b22410e

Browse files
committed
Add http back and update version
1 parent 7ddcd92 commit b22410e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": false,
33
"displayName": "AirGradient",
44
"name": "homebridge-airgradient",
5-
"version": "2.3.1",
5+
"version": "2.3.2",
66
"description": "Fetches air quality information from AirGradient devices.",
77
"license": "Apache-2.0",
88
"repository": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class AirGradientSensor {
157157
: 800;
158158

159159
// Construct the local API URL using the serialno
160-
this.apiUrl = `airgradient_${this.serialno}.local/measures/current`;
160+
this.apiUrl = `http://airgradient_${this.serialno}.local/measures/current`;
161161

162162
this.accessory.getService(hap.Service.AccessoryInformation)!
163163
.setCharacteristic(hap.Characteristic.Manufacturer, 'AirGradient')

0 commit comments

Comments
 (0)