mqtt-homeassistant 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b656374840471117429528590444bf765e632b07d828eea568cd57d393e90038
4
- data.tar.gz: 4f7fcb74b3188019d00d64a3f7e5191c423fe1ebd714fb578f8d8274b10ab4d9
3
+ metadata.gz: a869ec87ef12734319533f54286227f9bccbcb0de615cb2151e20a273d2f1d66
4
+ data.tar.gz: 32809651e0064ba332aa399ee8c81ef644b7d8592849c07951a4097b21812dec
5
5
  SHA512:
6
- metadata.gz: 82fccc23499c5323abcbb39d211dd537b663daaa40a5a74b7e246bce3bde20458f04df62f97ac9bc6c73a346641b58d942dc3aa97f8c068aa8a09ef8adf26906
7
- data.tar.gz: 9205edc7e5ef63fc65c91b02e20f89710de150e39d0699bbff0ee208209fcc2de472c09896e9bdef25d6025c80ae562079c3858b93ff8701a45aedcef4861c51
6
+ metadata.gz: 1a022babd9c610c4d07c601082a4e8a8d5f81f00c45ae46a24dd431c2e2d6df5a233578a6cff46a8ae90aca897d4ee4e6922edfb45631515defe0fd72a94f15d
7
+ data.tar.gz: 28d55f06bdf24c307b4c94aeca15bff040dec588a74af020d0ee91fa0be93db2b7387929ee34ddcd1a5bb933098361a3e514b97156157b4dd080dc07cb3ea3e0
@@ -61,7 +61,7 @@ module MQTT
61
61
  end
62
62
  end
63
63
 
64
- hass_abbreviate(ABBREVIATIONS, kwargs)
64
+ kwargs = hass_abbreviate(ABBREVIATIONS, kwargs)
65
65
 
66
66
  if migrate_discovery
67
67
  kwargs[:cmps].each do |object_id, component|
@@ -145,7 +145,7 @@ module MQTT
145
145
  end
146
146
  end
147
147
 
148
- hass_abbreviate(ABBREVIATIONS, kwargs)
148
+ kwargs = hass_abbreviate(ABBREVIATIONS, kwargs)
149
149
  if @collected_hass_components
150
150
  kwargs[:p] = platform
151
151
  @collected_hass_components[object_id] = kwargs
@@ -2,6 +2,6 @@
2
2
 
3
3
  module MQTT
4
4
  module HomeAssistant
5
- VERSION = "1.2.1"
5
+ VERSION = "1.2.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,164 +1,167 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mqtt-homeassistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
- - Cody Cutrer
8
- autorequire:
7
+ - Cody Cutrer
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-03-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '2.0'
27
- - !ruby/object:Gem::Dependency
28
- name: mqtt-ccutrer
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.0'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 1.0.3
37
- type: :runtime
38
- prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: '1.0'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 1.0.3
47
- description:
12
+ - !ruby/object:Gem::Dependency
13
+ name: json
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ -
17
+ - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: "2.0"
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ -
25
+ - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: "2.0"
28
+ - !ruby/object:Gem::Dependency
29
+ name: mqtt-ccutrer
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ -
33
+ - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: "1.0"
36
+ -
37
+ - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 1.0.3
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ -
45
+ - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: "1.0"
48
+ -
49
+ - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 1.0.3
48
52
  email: cody@cutrer.com'
49
53
  executables: []
50
54
  extensions: []
51
55
  extra_rdoc_files: []
52
56
  files:
53
- - lib/home_assistant/mqtt/discovery.rb
54
- - lib/mqtt-homeassistant.rb
55
- - lib/mqtt/home_assistant.rb
56
- - lib/mqtt/home_assistant/client.rb
57
- - lib/mqtt/home_assistant/version.rb
58
- - python/homeassistant/components/alarm_control_panel/__init__.py
59
- - python/homeassistant/components/alarm_control_panel/const.py
60
- - python/homeassistant/components/binary_sensor/__init__.py
61
- - python/homeassistant/components/button/__init__.py
62
- - python/homeassistant/components/climate/__init__.py
63
- - python/homeassistant/components/climate/const.py
64
- - python/homeassistant/components/cover/__init__.py
65
- - python/homeassistant/components/device_tracker/__init__.py
66
- - python/homeassistant/components/device_tracker/const.py
67
- - python/homeassistant/components/event/__init__.py
68
- - python/homeassistant/components/humidifier/__init__.py
69
- - python/homeassistant/components/humidifier/const.py
70
- - python/homeassistant/components/light/__init__.py
71
- - python/homeassistant/components/light/const.py
72
- - python/homeassistant/components/mqtt/abbreviations.py
73
- - python/homeassistant/components/mqtt/alarm_control_panel.py
74
- - python/homeassistant/components/mqtt/binary_sensor.py
75
- - python/homeassistant/components/mqtt/button.py
76
- - python/homeassistant/components/mqtt/camera.py
77
- - python/homeassistant/components/mqtt/climate.py
78
- - python/homeassistant/components/mqtt/config.py
79
- - python/homeassistant/components/mqtt/const.py
80
- - python/homeassistant/components/mqtt/cover.py
81
- - python/homeassistant/components/mqtt/device_tracker.py
82
- - python/homeassistant/components/mqtt/device_trigger.py
83
- - python/homeassistant/components/mqtt/discovery.py
84
- - python/homeassistant/components/mqtt/event.py
85
- - python/homeassistant/components/mqtt/fan.py
86
- - python/homeassistant/components/mqtt/humidifier.py
87
- - python/homeassistant/components/mqtt/image.py
88
- - python/homeassistant/components/mqtt/lawn_mower.py
89
- - python/homeassistant/components/mqtt/light/__init__.py
90
- - python/homeassistant/components/mqtt/light/schema.py
91
- - python/homeassistant/components/mqtt/light/schema_basic.py
92
- - python/homeassistant/components/mqtt/light/schema_json.py
93
- - python/homeassistant/components/mqtt/light/schema_template.py
94
- - python/homeassistant/components/mqtt/lock.py
95
- - python/homeassistant/components/mqtt/models.py
96
- - python/homeassistant/components/mqtt/notify.py
97
- - python/homeassistant/components/mqtt/number.py
98
- - python/homeassistant/components/mqtt/scene.py
99
- - python/homeassistant/components/mqtt/schemas.py
100
- - python/homeassistant/components/mqtt/select.py
101
- - python/homeassistant/components/mqtt/sensor.py
102
- - python/homeassistant/components/mqtt/siren.py
103
- - python/homeassistant/components/mqtt/switch.py
104
- - python/homeassistant/components/mqtt/tag.py
105
- - python/homeassistant/components/mqtt/text.py
106
- - python/homeassistant/components/mqtt/update.py
107
- - python/homeassistant/components/mqtt/util.py
108
- - python/homeassistant/components/mqtt/vacuum.py
109
- - python/homeassistant/components/mqtt/valve.py
110
- - python/homeassistant/components/mqtt/water_heater.py
111
- - python/homeassistant/components/number/__init__.py
112
- - python/homeassistant/components/number/const.py
113
- - python/homeassistant/components/sensor/__init__.py
114
- - python/homeassistant/components/sensor/const.py
115
- - python/homeassistant/components/switch/__init__.py
116
- - python/homeassistant/components/text/__init__.py
117
- - python/homeassistant/components/update/__init__.py
118
- - python/homeassistant/components/vacuum/__init__.py
119
- - python/homeassistant/components/valve/__init__.py
120
- - python/homeassistant/components/valve/const.py
121
- - python/homeassistant/components/water_heater/__init__.py
122
- - python/homeassistant/const.py
123
- - python/homeassistant/exceptions.py
124
- - python/homeassistant/generated/entity_platforms.py
125
- - python/homeassistant/helpers/config_validation.py
126
- - python/homeassistant/helpers/entity.py
127
- - python/homeassistant/helpers/frame.py
128
- - python/homeassistant/helpers/service_info/mqtt.py
129
- - python/homeassistant/helpers/template/__init__.py
130
- - python/homeassistant/helpers/template/extensions/__init__.py
131
- - python/homeassistant/helpers/template/extensions/base.py
132
- - python/homeassistant/helpers/template/extensions/base64.py
133
- - python/homeassistant/helpers/template/extensions/crypto.py
134
- - python/homeassistant/helpers/typing.py
135
- - python/homeassistant/util/__init__.py
136
- - python/homeassistant/util/dt.py
137
- - python/homeassistant/util/json.py
138
- - python/homeassistant/util/yaml/objects.py
139
- homepage: https://github.com/ccutrer/ruby-mqtt-homeassistant
57
+ - lib/home_assistant/mqtt/discovery.rb
58
+ - lib/mqtt-homeassistant.rb
59
+ - lib/mqtt/home_assistant.rb
60
+ - lib/mqtt/home_assistant/client.rb
61
+ - lib/mqtt/home_assistant/version.rb
62
+ - python/homeassistant/components/alarm_control_panel/__init__.py
63
+ - python/homeassistant/components/alarm_control_panel/const.py
64
+ - python/homeassistant/components/binary_sensor/__init__.py
65
+ - python/homeassistant/components/button/__init__.py
66
+ - python/homeassistant/components/climate/__init__.py
67
+ - python/homeassistant/components/climate/const.py
68
+ - python/homeassistant/components/cover/__init__.py
69
+ - python/homeassistant/components/device_tracker/__init__.py
70
+ - python/homeassistant/components/device_tracker/const.py
71
+ - python/homeassistant/components/event/__init__.py
72
+ - python/homeassistant/components/humidifier/__init__.py
73
+ - python/homeassistant/components/humidifier/const.py
74
+ - python/homeassistant/components/light/__init__.py
75
+ - python/homeassistant/components/light/const.py
76
+ - python/homeassistant/components/mqtt/abbreviations.py
77
+ - python/homeassistant/components/mqtt/alarm_control_panel.py
78
+ - python/homeassistant/components/mqtt/binary_sensor.py
79
+ - python/homeassistant/components/mqtt/button.py
80
+ - python/homeassistant/components/mqtt/camera.py
81
+ - python/homeassistant/components/mqtt/climate.py
82
+ - python/homeassistant/components/mqtt/config.py
83
+ - python/homeassistant/components/mqtt/const.py
84
+ - python/homeassistant/components/mqtt/cover.py
85
+ - python/homeassistant/components/mqtt/device_tracker.py
86
+ - python/homeassistant/components/mqtt/device_trigger.py
87
+ - python/homeassistant/components/mqtt/discovery.py
88
+ - python/homeassistant/components/mqtt/event.py
89
+ - python/homeassistant/components/mqtt/fan.py
90
+ - python/homeassistant/components/mqtt/humidifier.py
91
+ - python/homeassistant/components/mqtt/image.py
92
+ - python/homeassistant/components/mqtt/lawn_mower.py
93
+ - python/homeassistant/components/mqtt/light/__init__.py
94
+ - python/homeassistant/components/mqtt/light/schema.py
95
+ - python/homeassistant/components/mqtt/light/schema_basic.py
96
+ - python/homeassistant/components/mqtt/light/schema_json.py
97
+ - python/homeassistant/components/mqtt/light/schema_template.py
98
+ - python/homeassistant/components/mqtt/lock.py
99
+ - python/homeassistant/components/mqtt/models.py
100
+ - python/homeassistant/components/mqtt/notify.py
101
+ - python/homeassistant/components/mqtt/number.py
102
+ - python/homeassistant/components/mqtt/scene.py
103
+ - python/homeassistant/components/mqtt/schemas.py
104
+ - python/homeassistant/components/mqtt/select.py
105
+ - python/homeassistant/components/mqtt/sensor.py
106
+ - python/homeassistant/components/mqtt/siren.py
107
+ - python/homeassistant/components/mqtt/switch.py
108
+ - python/homeassistant/components/mqtt/tag.py
109
+ - python/homeassistant/components/mqtt/text.py
110
+ - python/homeassistant/components/mqtt/update.py
111
+ - python/homeassistant/components/mqtt/util.py
112
+ - python/homeassistant/components/mqtt/vacuum.py
113
+ - python/homeassistant/components/mqtt/valve.py
114
+ - python/homeassistant/components/mqtt/water_heater.py
115
+ - python/homeassistant/components/number/__init__.py
116
+ - python/homeassistant/components/number/const.py
117
+ - python/homeassistant/components/sensor/__init__.py
118
+ - python/homeassistant/components/sensor/const.py
119
+ - python/homeassistant/components/switch/__init__.py
120
+ - python/homeassistant/components/text/__init__.py
121
+ - python/homeassistant/components/update/__init__.py
122
+ - python/homeassistant/components/vacuum/__init__.py
123
+ - python/homeassistant/components/valve/__init__.py
124
+ - python/homeassistant/components/valve/const.py
125
+ - python/homeassistant/components/water_heater/__init__.py
126
+ - python/homeassistant/const.py
127
+ - python/homeassistant/exceptions.py
128
+ - python/homeassistant/generated/entity_platforms.py
129
+ - python/homeassistant/helpers/config_validation.py
130
+ - python/homeassistant/helpers/entity.py
131
+ - python/homeassistant/helpers/frame.py
132
+ - python/homeassistant/helpers/service_info/mqtt.py
133
+ - python/homeassistant/helpers/template/__init__.py
134
+ - python/homeassistant/helpers/template/extensions/__init__.py
135
+ - python/homeassistant/helpers/template/extensions/base.py
136
+ - python/homeassistant/helpers/template/extensions/base64.py
137
+ - python/homeassistant/helpers/template/extensions/crypto.py
138
+ - python/homeassistant/helpers/typing.py
139
+ - python/homeassistant/util/__init__.py
140
+ - python/homeassistant/util/dt.py
141
+ - python/homeassistant/util/json.py
142
+ - python/homeassistant/util/yaml/objects.py
143
+ homepage: "https://github.com/ccutrer/ruby-mqtt-homeassistant"
140
144
  licenses:
141
- - MIT
145
+ - MIT
142
146
  metadata:
143
- rubygems_mfa_required: 'true'
144
- post_install_message:
147
+ rubygems_mfa_required: "true"
145
148
  rdoc_options: []
146
149
  require_paths:
147
- - lib
150
+ - lib
148
151
  required_ruby_version: !ruby/object:Gem::Requirement
149
152
  requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '3.2'
153
+ -
154
+ - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: "3.2"
153
157
  required_rubygems_version: !ruby/object:Gem::Requirement
154
158
  requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- version: '0'
159
+ -
160
+ - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: "0"
158
163
  requirements: []
159
- rubygems_version: 3.4.19
160
- signing_key:
164
+ rubygems_version: 4.1.0
161
165
  specification_version: 4
162
- summary: Library for publishing device auto-discovery configuration for Home Assistant
163
- via MQTT.
166
+ summary: Library for publishing device auto-discovery configuration for Home Assistant via MQTT.
164
167
  test_files: []