balboa_worldwide_app 2.1.6 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/bwa_mqtt_bridge +3 -2
- data/lib/bwa/version.rb +1 -1
- 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: ffa5516ead74372e863498ad8bff81530dee9d85b8a8335bb2f780a4a99aae4b
|
4
|
+
data.tar.gz: d429bbd063051c7a418c904d95a49a80940de5f3c3dafbb2b898c965e3b02cb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b8c33a207be0ecce2b6149d9c20e72afc2bee28ab7ed7e79984478151db4fba0fd9831683f3920f86ab14b755128f2cef4762dc8b0fa073a9b4dca13136405b
|
7
|
+
data.tar.gz: ec60d8840b4b29716db306ad2ecc05310e74920f9c82e8745d04b09bea78252c8f25a133ddc297e90ad806bb433b2be7b3d7804c4470f3e15154b26bf30629a7
|
data/exe/bwa_mqtt_bridge
CHANGED
@@ -378,7 +378,7 @@ class MQTTBridge
|
|
378
378
|
|
379
379
|
def update_filter_cycles(prop, value)
|
380
380
|
new_config = @bwa.filter_cycles.dup
|
381
|
-
new_config.public_send("#{prop}=", value)
|
381
|
+
new_config.public_send(:"#{prop}=", value)
|
382
382
|
@bwa.update_filter_cycles(new_config)
|
383
383
|
end
|
384
384
|
|
@@ -389,13 +389,14 @@ class MQTTBridge
|
|
389
389
|
if @bwa.temperature_scale == :celsius
|
390
390
|
@homie["spa"]["current-temperature"].format = 0..42
|
391
391
|
@homie["spa"]["target-temperature"].format = 10..40
|
392
|
+
@homie["spa"]["target-temperature"].hass_number(icon: "mdi:thermometer", step: 0.5)
|
392
393
|
else
|
393
394
|
@homie["spa"]["current-temperature"].format = 32..108
|
394
395
|
@homie["spa"]["target-temperature"].format = 50..106
|
396
|
+
@homie["spa"]["target-temperature"].hass_number(icon: "mdi:thermometer", step: 1)
|
395
397
|
end
|
396
398
|
|
397
399
|
@homie["spa"]["current-temperature"].hass_sensor(device_class: :temperature)
|
398
|
-
@homie["spa"]["target-temperature"].hass_number(icon: "mdi:thermometer")
|
399
400
|
end
|
400
401
|
end
|
401
402
|
|
data/lib/bwa/version.rb
CHANGED