purpleair 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/purpleair_mqtt_bridge +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2143ce19877835c3d83b337743675af5c194910ca865d1aaacaf9bfe21ee7b29
|
4
|
+
data.tar.gz: 1bd57fc1dace7670e0693d6cce7c0d1098a9b878ebf83401f4e04fa82cb804b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c0140b849c7f2180ed406d46b8142e69bce2425c0acf8e37a7543adc882b2ee23f6f66a852081bf86f28e85dd778fc4a99e2ce3f50c51cd825ef6e5559c0906
|
7
|
+
data.tar.gz: cdd9d8987c19cdb3734dec4514333169efb34e38bf8a0d1d1c7a9f585d3cb1ab435acf369606469d25afdcb8d9e93e17e7a37e9d689ae8247a4c0622cdb3bfeb
|
data/exe/purpleair_mqtt_bridge
CHANGED
@@ -119,21 +119,21 @@ CHANNELS.each do |channel_id|
|
|
119
119
|
"PM1.0",
|
120
120
|
:float,
|
121
121
|
fields["pm1_0_atm"],
|
122
|
-
unit: "µg/
|
122
|
+
unit: "µg/m³",
|
123
123
|
hass: { sensor: { device_class: :pm1,
|
124
124
|
state_class: :measurement } })
|
125
125
|
channel.property("pm2-5-atm",
|
126
126
|
"PM2.5",
|
127
127
|
:float,
|
128
128
|
fields["pm2_5_atm"],
|
129
|
-
unit: "µg/
|
129
|
+
unit: "µg/m³",
|
130
130
|
hass: { sensor: { device_class: :pm25,
|
131
131
|
state_class: :measurement } })
|
132
132
|
channel.property("pm10-0-atm",
|
133
133
|
"PM10",
|
134
134
|
:float,
|
135
135
|
fields["pm10_0_atm"],
|
136
|
-
unit: "µg/
|
136
|
+
unit: "µg/m³",
|
137
137
|
hass: { sensor: { device_class: :pm10,
|
138
138
|
state_class: :measurement } })
|
139
139
|
channel.property("p-0-3-um",
|