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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bc2478e338f4f88713309f02a338b7654acff1966356b63b798d8c66e9b3cbb
4
- data.tar.gz: 0bebdf13f2108bca8d240da6181281ea18a16ee02d9923a8179f621e58cff999
3
+ metadata.gz: ffa5516ead74372e863498ad8bff81530dee9d85b8a8335bb2f780a4a99aae4b
4
+ data.tar.gz: d429bbd063051c7a418c904d95a49a80940de5f3c3dafbb2b898c965e3b02cb8
5
5
  SHA512:
6
- metadata.gz: 8439e831ba09b6eee619c478a507943428b0a06542fc3a7e796ebf0eef9fdac2f77a3e927ac05bbeb6aed10199ad019dfdfc7b2aba1c1ba24b9366814921f108
7
- data.tar.gz: '056921546926780e53b8129ef69f16db148e0db3278ac4b84dc7ef3546ad08d949578f5b69b70460d12f8e94577f991b144ea8c24f806c7f3ac860008036b9c1'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BWA
4
- VERSION = "2.1.6"
4
+ VERSION = "2.1.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: balboa_worldwide_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer