homie-mqtt 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mqtt/homie/property.rb +1 -1
- data/lib/mqtt/homie/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: 1c0070a3f65a2d335b3ecaa206e3969a024db3218b8eddb91b03434f0953c712
|
4
|
+
data.tar.gz: d12edaebbf8d5da85e2c67b2ca8c64068daff04bd588770086bcb1d0b24892ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaf9bb9ad0d8e5a7c3292570885dd8933325b3127ab1938190e2def744bcb95d95c5f1057f9338f90b3db85d4e8091c0b32a9de835fd20426945f0b1831b5820
|
7
|
+
data.tar.gz: 713b2a20311422b8a8d6e75a4a9ce0c00ae18a556862b38f064f289927c2be364fecfa84450dab1e5120d85e5e2a8d9969c95988a44ab05780db5e3064d547d7
|
data/lib/mqtt/homie/property.rb
CHANGED
@@ -80,7 +80,7 @@ module MQTT
|
|
80
80
|
mqtt.publish("#{topic}/$name", name, true, 1)
|
81
81
|
mqtt.publish("#{topic}/$datatype", datatype.to_s, true, 1)
|
82
82
|
mqtt.publish("#{topic}/$format", format, true, 1) if format
|
83
|
-
mqtt.publish("#{topic}/$settable", "
|
83
|
+
mqtt.publish("#{topic}/$settable", "true", true, 1) if settable?
|
84
84
|
mqtt.publish("#{topic}/$retained", "false", true, 1) unless retained?
|
85
85
|
mqtt.publish("#{topic}/$unit", unit, true, 1) if unit
|
86
86
|
mqtt.subscribe("#{topic}/set") if settable?
|
data/lib/mqtt/homie/version.rb
CHANGED