mqtt-homeassistant 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mqtt/home_assistant/version.rb +1 -1
- data/lib/mqtt/home_assistant.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: e4abb16dba6ea2ddab3b0619ded2e0712e2b997d710cc69d367a5234ee00371c
|
4
|
+
data.tar.gz: b22f5a9ddc2fc216c8a57564f6691661fb0cbaeedfa00d3de76548cf23de299f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9704e5112d570e0a7cdf255a365af0440a7a24c09376513703eb25726d46f180334e6c78f7ea6ad71ec2faa38adbdc511e4f453430f08840555d44276a1598d0
|
7
|
+
data.tar.gz: ad8ce6569cbd7fccc1fa968061f4f9a966f97710d1d51d723128f67780191d32edeb5f6738f3eb5339d3a8305d9b2e3745b5e52cc92d2b816305e5010faff0a4
|
data/lib/mqtt/home_assistant.rb
CHANGED
@@ -166,7 +166,7 @@ module MQTT
|
|
166
166
|
config[:unique_id] = "#{node.device.id}_#{id || node.id}"
|
167
167
|
read_only_props = %i[action current_temperature]
|
168
168
|
properties.each do |prefix, property|
|
169
|
-
add_property(config, property, prefix, templates, read_only: read_only_props.include?(prefix))
|
169
|
+
add_property(config, property, prefix, templates: templates, read_only: read_only_props.include?(prefix))
|
170
170
|
end
|
171
171
|
temp_properties = [
|
172
172
|
temperature_property,
|