ruby_home 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/tests.yml +4 -4
  3. data/.gitignore +2 -2
  4. data/.rubocop.yml +2 -9
  5. data/.standard.yml +3 -0
  6. data/CHANGELOG.md +6 -1
  7. data/Gemfile +2 -2
  8. data/Rakefile +4 -4
  9. data/examples/air_purifier.rb +7 -8
  10. data/examples/air_quality_sensor.rb +8 -9
  11. data/examples/battery_service.rb +2 -3
  12. data/examples/carbon_dioxide_sensor.rb +2 -3
  13. data/examples/carbon_monoxide_sensor.rb +3 -4
  14. data/examples/contact_sensor.rb +2 -3
  15. data/examples/door.rb +5 -6
  16. data/examples/fan.rb +2 -3
  17. data/examples/fan_v2.rb +2 -3
  18. data/examples/garage_door_opener.rb +9 -10
  19. data/examples/heater_cooler.rb +9 -10
  20. data/examples/humidifier_dehumidifier.rb +9 -10
  21. data/examples/humidity_sensor.rb +2 -3
  22. data/examples/leak_sensor.rb +2 -3
  23. data/examples/light_sensor.rb +2 -3
  24. data/examples/lightbulb.rb +2 -3
  25. data/examples/lock_mechanism.rb +6 -7
  26. data/examples/motion_sensor.rb +2 -3
  27. data/examples/occupancy_sensor.rb +2 -3
  28. data/examples/outlet.rb +2 -3
  29. data/examples/security_system.rb +12 -13
  30. data/examples/smoke_sensor.rb +2 -3
  31. data/examples/switch.rb +2 -3
  32. data/examples/television.rb +8 -13
  33. data/examples/temperature_sensor.rb +2 -3
  34. data/examples/thermostat.rb +10 -11
  35. data/examples/window.rb +5 -6
  36. data/examples/window_covering.rb +5 -6
  37. data/lib/ruby_home.rb +21 -21
  38. data/lib/ruby_home/accessory.rb +1 -1
  39. data/lib/ruby_home/accessory_collection.rb +6 -6
  40. data/lib/ruby_home/accessory_info.rb +18 -18
  41. data/lib/ruby_home/characteristic.rb +8 -8
  42. data/lib/ruby_home/characteristic_collection.rb +13 -13
  43. data/lib/ruby_home/config/characteristics.yml +30 -635
  44. data/lib/ruby_home/config/manual_characteristics.yml +278 -0
  45. data/lib/ruby_home/config/manual_services.yml +45 -0
  46. data/lib/ruby_home/config/services.yml +329 -370
  47. data/lib/ruby_home/configuration.rb +4 -4
  48. data/lib/ruby_home/device_id.rb +3 -3
  49. data/lib/ruby_home/dns/service.rb +4 -6
  50. data/lib/ruby_home/dns/text_record.rb +9 -9
  51. data/lib/ruby_home/errors.rb +1 -0
  52. data/lib/ruby_home/factories/characteristic_factory.rb +37 -37
  53. data/lib/ruby_home/factories/service_factory.rb +72 -72
  54. data/lib/ruby_home/factories/templates/characteristic_template.rb +5 -5
  55. data/lib/ruby_home/factories/templates/service_template.rb +11 -10
  56. data/lib/ruby_home/hap/crypto/chacha20poly1305.rb +2 -2
  57. data/lib/ruby_home/hap/crypto/hkdf.rb +4 -4
  58. data/lib/ruby_home/hap/crypto/session_key.rb +7 -7
  59. data/lib/ruby_home/hap/decrypter.rb +8 -8
  60. data/lib/ruby_home/hap/encrypter.rb +5 -6
  61. data/lib/ruby_home/hap/ev_response.rb +17 -17
  62. data/lib/ruby_home/hap/hap_request.rb +1 -1
  63. data/lib/ruby_home/hap/server.rb +4 -4
  64. data/lib/ruby_home/hap/server_handler.rb +8 -10
  65. data/lib/ruby_home/hap/session.rb +22 -22
  66. data/lib/ruby_home/hap/values/base_value.rb +3 -3
  67. data/lib/ruby_home/hap/values/bool_value.rb +4 -4
  68. data/lib/ruby_home/hap/values/float_value.rb +4 -4
  69. data/lib/ruby_home/hap/values/identify_value.rb +1 -1
  70. data/lib/ruby_home/hap/values/int32_value.rb +4 -4
  71. data/lib/ruby_home/hap/values/null_value.rb +1 -1
  72. data/lib/ruby_home/hap/values/string_value.rb +11 -11
  73. data/lib/ruby_home/hap/values/uint32_value.rb +5 -5
  74. data/lib/ruby_home/hap/values/uint8_value.rb +14 -14
  75. data/lib/ruby_home/hex_helper.rb +3 -3
  76. data/lib/ruby_home/http/application.rb +7 -7
  77. data/lib/ruby_home/http/controllers/accessories_controller.rb +3 -3
  78. data/lib/ruby_home/http/controllers/application_controller.rb +6 -6
  79. data/lib/ruby_home/http/controllers/characteristics_controller.rb +29 -29
  80. data/lib/ruby_home/http/controllers/identify_controller.rb +10 -10
  81. data/lib/ruby_home/http/controllers/pair_setups_controller.rb +18 -18
  82. data/lib/ruby_home/http/controllers/pair_verifies_controller.rb +9 -9
  83. data/lib/ruby_home/http/controllers/pairings_controller.rb +5 -5
  84. data/lib/ruby_home/http/serializers/accessory_serializer.rb +5 -5
  85. data/lib/ruby_home/http/serializers/characteristic_serializer.rb +24 -24
  86. data/lib/ruby_home/http/serializers/characteristic_value_serializer.rb +5 -5
  87. data/lib/ruby_home/http/serializers/object_serializer.rb +1 -1
  88. data/lib/ruby_home/http/serializers/service_serializer.rb +9 -9
  89. data/lib/ruby_home/http/serializers/uuid_helper.rb +2 -2
  90. data/lib/ruby_home/http/services/session_notifier.rb +8 -8
  91. data/lib/ruby_home/http/services/start_srp_service.rb +3 -3
  92. data/lib/ruby_home/http/services/verify_finish_service.rb +22 -22
  93. data/lib/ruby_home/http/services/verify_srp_service.rb +22 -22
  94. data/lib/ruby_home/identifier_cache.rb +4 -5
  95. data/lib/ruby_home/password.rb +14 -14
  96. data/lib/ruby_home/persistable.rb +22 -7
  97. data/lib/ruby_home/service.rb +3 -3
  98. data/lib/ruby_home/service_collection.rb +1 -1
  99. data/lib/ruby_home/version.rb +1 -1
  100. data/rubyhome.gemspec +31 -31
  101. data/sbin/characteristic_generator.rb +22 -24
  102. data/sbin/service_generator.rb +36 -27
  103. metadata +25 -8
@@ -1,4 +1,4 @@
1
- require_relative 'accessory_collection'
1
+ require_relative "accessory_collection"
2
2
 
3
3
  module RubyHome
4
4
  class Accessory
@@ -25,12 +25,12 @@ module RubyHome
25
25
 
26
26
  private
27
27
 
28
- def services
29
- accessories.flat_map(&:services)
30
- end
28
+ def services
29
+ accessories.flat_map(&:services)
30
+ end
31
31
 
32
- def characteristics
33
- services.flat_map(&:characteristics)
34
- end
32
+ def characteristics
33
+ services.flat_map(&:characteristics)
34
+ end
35
35
  end
36
36
  end
@@ -1,10 +1,10 @@
1
- require_relative 'persistable'
1
+ require_relative "persistable"
2
2
 
3
3
  module RubyHome
4
4
  class AccessoryInfo
5
5
  include Persistable
6
6
 
7
- self.source = 'accessory_info.yml'
7
+ self.source = "accessory_info.yml"
8
8
 
9
9
  def self.instance
10
10
  @@_instance ||= persisted || create
@@ -14,7 +14,7 @@ module RubyHome
14
14
  @@_instance = nil
15
15
  end
16
16
 
17
- USERNAME = -'Pair-Setup'
17
+ USERNAME = -"Pair-Setup"
18
18
 
19
19
  def initialize(device_id: nil, paired_clients: [], password: nil, signature_key: nil)
20
20
  @device_id = device_id
@@ -44,8 +44,8 @@ module RubyHome
44
44
  @paired_clients ||= []
45
45
  end
46
46
 
47
- def add_paired_client(admin: false, identifier: , public_key: )
48
- @paired_clients << { admin: admin, identifier: identifier, public_key: public_key }
47
+ def add_paired_client(identifier:, public_key:, admin: false)
48
+ @paired_clients << {admin: admin, identifier: identifier, public_key: public_key}
49
49
  save
50
50
  end
51
51
 
@@ -59,22 +59,22 @@ module RubyHome
59
59
  end
60
60
 
61
61
  def signing_key
62
- @signing_key ||= RbNaCl::Signatures::Ed25519::SigningKey.new([signature_key].pack('H*'))
62
+ @signing_key ||= RbNaCl::Signatures::Ed25519::SigningKey.new([signature_key].pack("H*"))
63
63
  end
64
64
 
65
65
  private
66
66
 
67
- def signature_key
68
- @signature_key ||= RbNaCl::Signatures::Ed25519::SigningKey.generate.to_bytes.unpack1('H*')
69
- end
70
-
71
- def persisted_attributes
72
- {
73
- device_id: device_id,
74
- paired_clients: paired_clients,
75
- password: password,
76
- signature_key: signature_key
77
- }
78
- end
67
+ def signature_key
68
+ @signature_key ||= RbNaCl::Signatures::Ed25519::SigningKey.generate.to_bytes.unpack1("H*")
69
+ end
70
+
71
+ def persisted_attributes
72
+ {
73
+ device_id: device_id,
74
+ paired_clients: paired_clients,
75
+ password: password,
76
+ signature_key: signature_key
77
+ }
78
+ end
79
79
  end
80
80
  end
@@ -1,4 +1,4 @@
1
- require_relative 'characteristic_collection'
1
+ require_relative "characteristic_collection"
2
2
 
3
3
  module RubyHome
4
4
  class DuplicateCharacteristicError < StandardError; end
@@ -19,13 +19,13 @@ module RubyHome
19
19
  end
20
20
 
21
21
  PROPERTIES = {
22
- 'cnotify' => 'ev',
23
- 'read' => 'pr',
24
- 'uncnotify' => nil,
25
- 'write' => 'pw',
22
+ "cnotify" => "ev",
23
+ "read" => "pr",
24
+ "uncnotify" => nil,
25
+ "write" => "pw"
26
26
  }.freeze
27
27
 
28
- def initialize(uuid:, name:, description:, format:, unit:, properties:, constraints:, service: , value_object: )
28
+ def initialize(uuid:, name:, description:, format:, unit:, properties:, constraints:, service:, value_object:)
29
29
  @uuid = uuid
30
30
  @name = name
31
31
  @description = description
@@ -47,7 +47,7 @@ module RubyHome
47
47
  :properties,
48
48
  :constraints,
49
49
  :instance_id,
50
- :value_object,
50
+ :value_object
51
51
  )
52
52
 
53
53
  def instance_id=(new_id)
@@ -69,7 +69,7 @@ module RubyHome
69
69
  end
70
70
 
71
71
  def valid_values
72
- constraints.fetch('ValidValues', {}).keys.map(&:to_i)
72
+ constraints.fetch("ValidValues", {}).keys.map(&:to_i)
73
73
  end
74
74
 
75
75
  def method_missing(method_name, *args, &block)
@@ -17,7 +17,7 @@ module RubyHome
17
17
  @characteristics << characteristic
18
18
  end
19
19
 
20
- alias all to_a
20
+ alias_method :all, :to_a
21
21
 
22
22
  def contains_instance_id?(instance_id)
23
23
  map(&:instance_id).include?(instance_id)
@@ -25,24 +25,24 @@ module RubyHome
25
25
 
26
26
  private
27
27
 
28
- attr_reader :characteristics
28
+ attr_reader :characteristics
29
29
 
30
- def define_service_getter(characteristic)
31
- service = characteristic.service
30
+ def define_service_getter(characteristic)
31
+ service = characteristic.service
32
32
 
33
- unless service.respond_to?(characteristic.name)
34
- service.define_singleton_method(characteristic.name) { characteristic }
35
- end
33
+ unless service.respond_to?(characteristic.name)
34
+ service.define_singleton_method(characteristic.name) { characteristic }
36
35
  end
36
+ end
37
37
 
38
- def define_service_setter(characteristic)
39
- service = characteristic.service
38
+ def define_service_setter(characteristic)
39
+ service = characteristic.service
40
40
 
41
- unless service.respond_to?("#{characteristic.name}=")
42
- service.define_singleton_method("#{characteristic.name}=") do |args|
43
- characteristic.value = args
44
- end
41
+ unless service.respond_to?("#{characteristic.name}=")
42
+ service.define_singleton_method("#{characteristic.name}=") do |args|
43
+ characteristic.value = args
45
44
  end
46
45
  end
46
+ end
47
47
  end
48
48
  end
@@ -4,8 +4,6 @@
4
4
  :uuid: 000000A6-0000-1000-8000-0026BB765291
5
5
  :format: uint32
6
6
  :unit: nil
7
- :permissions:
8
- - securedRead
9
7
  :properties:
10
8
  - read
11
9
  - cnotify
@@ -18,9 +16,6 @@
18
16
  :uuid: 000000B0-0000-1000-8000-0026BB765291
19
17
  :format: uint8
20
18
  :unit: nil
21
- :permissions:
22
- - securedRead
23
- - securedWrite
24
19
  :properties:
25
20
  - read
26
21
  - write
@@ -30,39 +25,22 @@
30
25
  ValidValues:
31
26
  '0': Inactive
32
27
  '1': Active
33
- - :name: :active_identifier
34
- :description: Active Identifier
35
- :uuid: 000000E7-0000-1000-8000-0026BB765291
36
- :format: uint32
37
- :unit: nil
38
- :permissions:
39
- - securedRead
40
- :properties:
41
- - read
42
- - write
43
- - cnotify
44
- :constraints:
45
28
  - :name: :administrator_only_access
46
29
  :description: Administrator Only Access
47
30
  :uuid: 00000001-0000-1000-8000-0026BB765291
48
31
  :format: bool
49
32
  :unit: nil
50
- :permissions:
51
- - securedRead
52
- - securedWrite
53
33
  :properties:
54
34
  - read
55
35
  - write
56
36
  - cnotify
57
37
  - uncnotify
58
- :constraints:
38
+ :constraints:
59
39
  - :name: :air_particulate_density
60
40
  :description: Air Particulate Density
61
41
  :uuid: 00000064-0000-1000-8000-0026BB765291
62
42
  :format: float
63
43
  :unit: nil
64
- :permissions:
65
- - securedRead
66
44
  :properties:
67
45
  - read
68
46
  - cnotify
@@ -76,8 +54,6 @@
76
54
  :uuid: 00000065-0000-1000-8000-0026BB765291
77
55
  :format: uint8
78
56
  :unit: nil
79
- :permissions:
80
- - securedRead
81
57
  :properties:
82
58
  - read
83
59
  - cnotify
@@ -91,8 +67,6 @@
91
67
  :uuid: '00000095-0000-1000-8000-0026BB765291'
92
68
  :format: uint8
93
69
  :unit: nil
94
- :permissions:
95
- - securedRead
96
70
  :properties:
97
71
  - read
98
72
  - cnotify
@@ -110,22 +84,17 @@
110
84
  :uuid: 00000005-0000-1000-8000-0026BB765291
111
85
  :format: bool
112
86
  :unit: nil
113
- :permissions:
114
- - securedRead
115
- - securedWrite
116
87
  :properties:
117
88
  - read
118
89
  - write
119
90
  - cnotify
120
91
  - uncnotify
121
- :constraints:
92
+ :constraints:
122
93
  - :name: :battery_level
123
94
  :description: Battery Level
124
95
  :uuid: '00000068-0000-1000-8000-0026BB765291'
125
96
  :format: uint8
126
97
  :unit: '"percentage"'
127
- :permissions:
128
- - securedRead
129
98
  :properties:
130
99
  - read
131
100
  - cnotify
@@ -139,9 +108,6 @@
139
108
  :uuid: '00000008-0000-1000-8000-0026BB765291'
140
109
  :format: int32
141
110
  :unit: '"percentage"'
142
- :permissions:
143
- - securedRead
144
- - securedWrite
145
111
  :properties:
146
112
  - read
147
113
  - write
@@ -156,8 +122,6 @@
156
122
  :uuid: '00000092-0000-1000-8000-0026BB765291'
157
123
  :format: uint8
158
124
  :unit: nil
159
- :permissions:
160
- - securedRead
161
125
  :properties:
162
126
  - read
163
127
  - cnotify
@@ -171,8 +135,6 @@
171
135
  :uuid: '00000093-0000-1000-8000-0026BB765291'
172
136
  :format: float
173
137
  :unit: nil
174
- :permissions:
175
- - securedRead
176
138
  :properties:
177
139
  - read
178
140
  - cnotify
@@ -185,8 +147,6 @@
185
147
  :uuid: '00000094-0000-1000-8000-0026BB765291'
186
148
  :format: float
187
149
  :unit: nil
188
- :permissions:
189
- - securedRead
190
150
  :properties:
191
151
  - read
192
152
  - cnotify
@@ -199,8 +159,6 @@
199
159
  :uuid: '00000069-0000-1000-8000-0026BB765291'
200
160
  :format: uint8
201
161
  :unit: nil
202
- :permissions:
203
- - securedRead
204
162
  :properties:
205
163
  - read
206
164
  - cnotify
@@ -214,8 +172,6 @@
214
172
  :uuid: '00000090-0000-1000-8000-0026BB765291'
215
173
  :format: float
216
174
  :unit: nil
217
- :permissions:
218
- - securedRead
219
175
  :properties:
220
176
  - read
221
177
  - cnotify
@@ -228,8 +184,6 @@
228
184
  :uuid: '00000091-0000-1000-8000-0026BB765291'
229
185
  :format: float
230
186
  :unit: nil
231
- :permissions:
232
- - securedRead
233
187
  :properties:
234
188
  - read
235
189
  - cnotify
@@ -242,8 +196,6 @@
242
196
  :uuid: '0000008F-0000-1000-8000-0026BB765291'
243
197
  :format: uint8
244
198
  :unit: nil
245
- :permissions:
246
- - securedRead
247
199
  :properties:
248
200
  - read
249
201
  - cnotify
@@ -253,31 +205,11 @@
253
205
  '0': Not Charging
254
206
  '1': Charging
255
207
  '2': Not Chargeable
256
- - :name: :closed_captions
257
- :description: Closed Captions
258
- :uuid: 000000DD-0000-1000-8000-0026BB765291
259
- :format: uint8
260
- :unit: nil
261
- :permissions:
262
- - securedRead
263
- :properties:
264
- - read
265
- - write
266
- - cnotify
267
- :constraints:
268
- MaximumValue: 1
269
- MinimumValue: 0
270
- ValidValues:
271
- '0': Disabled
272
- '1': Enabled
273
208
  - :name: :color_temperature
274
209
  :description: Color Temperature
275
210
  :uuid: 000000CE-0000-1000-8000-0026BB765291
276
211
  :format: uint32
277
212
  :unit: nil
278
- :permissions:
279
- - securedRead
280
- - securedWrite
281
213
  :properties:
282
214
  - read
283
215
  - write
@@ -287,25 +219,11 @@
287
219
  MaximumValue: 500
288
220
  MinimumValue: 140
289
221
  StepValue: 1
290
- - :name: :configured_name
291
- :description: Configured Name
292
- :uuid: 000000E3-0000-1000-8000-0026BB765291
293
- :format: string
294
- :unit: nil
295
- :permissions:
296
- - securedRead
297
- :properties:
298
- - read
299
- - write
300
- - cnotify
301
- :constraints:
302
222
  - :name: :contact_sensor_state
303
223
  :description: Contact Sensor State
304
224
  :uuid: 0000006A-0000-1000-8000-0026BB765291
305
225
  :format: uint8
306
226
  :unit: nil
307
- :permissions:
308
- - securedRead
309
227
  :properties:
310
228
  - read
311
229
  - cnotify
@@ -319,9 +237,6 @@
319
237
  :uuid: 0000000D-0000-1000-8000-0026BB765291
320
238
  :format: float
321
239
  :unit: '"celsius"'
322
- :permissions:
323
- - securedRead
324
- - securedWrite
325
240
  :properties:
326
241
  - read
327
242
  - write
@@ -336,8 +251,6 @@
336
251
  :uuid: 000000A9-0000-1000-8000-0026BB765291
337
252
  :format: uint8
338
253
  :unit: nil
339
- :permissions:
340
- - securedRead
341
254
  :properties:
342
255
  - read
343
256
  - cnotify
@@ -352,8 +265,6 @@
352
265
  :uuid: 0000006B-0000-1000-8000-0026BB765291
353
266
  :format: float
354
267
  :unit: '"lux"'
355
- :permissions:
356
- - securedRead
357
268
  :properties:
358
269
  - read
359
270
  - cnotify
@@ -366,8 +277,6 @@
366
277
  :uuid: 0000000E-0000-1000-8000-0026BB765291
367
278
  :format: uint8
368
279
  :unit: nil
369
- :permissions:
370
- - securedRead
371
280
  :properties:
372
281
  - read
373
282
  - cnotify
@@ -384,8 +293,6 @@
384
293
  :uuid: 000000AF-0000-1000-8000-0026BB765291
385
294
  :format: uint8
386
295
  :unit: nil
387
- :permissions:
388
- - securedRead
389
296
  :properties:
390
297
  - read
391
298
  - cnotify
@@ -400,8 +307,6 @@
400
307
  :uuid: 000000B1-0000-1000-8000-0026BB765291
401
308
  :format: uint8
402
309
  :unit: nil
403
- :permissions:
404
- - securedRead
405
310
  :properties:
406
311
  - read
407
312
  - cnotify
@@ -417,8 +322,6 @@
417
322
  :uuid: 0000000F-0000-1000-8000-0026BB765291
418
323
  :format: uint8
419
324
  :unit: nil
420
- :permissions:
421
- - securedRead
422
325
  :properties:
423
326
  - read
424
327
  - cnotify
@@ -433,8 +336,6 @@
433
336
  :uuid: 0000006C-0000-1000-8000-0026BB765291
434
337
  :format: int32
435
338
  :unit: '"arcdegrees"'
436
- :permissions:
437
- - securedRead
438
339
  :properties:
439
340
  - read
440
341
  - cnotify
@@ -448,8 +349,6 @@
448
349
  :uuid: 000000B3-0000-1000-8000-0026BB765291
449
350
  :format: uint8
450
351
  :unit: nil
451
- :permissions:
452
- - securedRead
453
352
  :properties:
454
353
  - read
455
354
  - cnotify
@@ -460,33 +359,11 @@
460
359
  '1': Idle
461
360
  '2': Humidifying
462
361
  '3': Dehumidifying
463
- - :name: :current_media_state
464
- :description: Current Media State
465
- :uuid: 000000E0-0000-1000-8000-0026BB765291
466
- :format: uint8
467
- :unit: nil
468
- :permissions:
469
- - securedRead
470
- :properties:
471
- - read
472
- - cnotify
473
- :constraints:
474
- MaximumValue: 5
475
- MinimumValue: 0
476
- ValidValues:
477
- '0': Play
478
- '1': Pause
479
- '2': Stop
480
- '3':
481
- '4': Loading
482
- '5': Interrupted
483
362
  - :name: :current_position
484
363
  :description: Current Position
485
364
  :uuid: 0000006D-0000-1000-8000-0026BB765291
486
365
  :format: uint8
487
366
  :unit: '"percentage"'
488
- :permissions:
489
- - securedRead
490
367
  :properties:
491
368
  - read
492
369
  - cnotify
@@ -500,8 +377,6 @@
500
377
  :uuid: 00000010-0000-1000-8000-0026BB765291
501
378
  :format: float
502
379
  :unit: '"percentage"'
503
- :permissions:
504
- - securedRead
505
380
  :properties:
506
381
  - read
507
382
  - cnotify
@@ -515,8 +390,6 @@
515
390
  :uuid: 000000AA-0000-1000-8000-0026BB765291
516
391
  :format: uint8
517
392
  :unit: nil
518
- :permissions:
519
- - securedRead
520
393
  :properties:
521
394
  - read
522
395
  - cnotify
@@ -531,8 +404,6 @@
531
404
  :uuid: 00000011-0000-1000-8000-0026BB765291
532
405
  :format: float
533
406
  :unit: '"celsius"'
534
- :permissions:
535
- - securedRead
536
407
  :properties:
537
408
  - read
538
409
  - cnotify
@@ -546,8 +417,6 @@
546
417
  :uuid: 000000C1-0000-1000-8000-0026BB765291
547
418
  :format: int32
548
419
  :unit: '"arcdegrees"'
549
- :permissions:
550
- - securedRead
551
420
  :properties:
552
421
  - read
553
422
  - cnotify
@@ -561,8 +430,6 @@
561
430
  :uuid: 0000006E-0000-1000-8000-0026BB765291
562
431
  :format: int32
563
432
  :unit: '"arcdegrees"'
564
- :permissions:
565
- - securedRead
566
433
  :properties:
567
434
  - read
568
435
  - cnotify
@@ -571,57 +438,22 @@
571
438
  MaximumValue: 90
572
439
  MinimumValue: -90
573
440
  StepValue: 1
574
- - :name: :current_visibility_state
575
- :description: Current Visibility State
576
- :uuid: 00000135-0000-1000-8000-0026BB765291
577
- :format: uint8
578
- :unit: nil
579
- :permissions:
580
- - securedRead
581
- :properties:
582
- - read
583
- - cnotify
584
- :constraints:
585
- MaximumValue: 3
586
- MinimumValue: 0
587
- ValidValues:
588
- '0': Shown
589
- '1': Hidden
590
- '2':
591
- '3':
592
441
  - :name: :digital_zoom
593
442
  :description: Digital Zoom
594
443
  :uuid: 0000011D-0000-1000-8000-0026BB765291
595
444
  :format: float
596
445
  :unit: nil
597
- :permissions:
598
- - securedRead
599
- - securedWrite
600
446
  :properties:
601
447
  - read
602
448
  - write
603
449
  - cnotify
604
450
  - uncnotify
605
- :constraints:
606
- - :name: :display_order
607
- :description: Display Order
608
- :uuid: 00000136-0000-1000-8000-0026BB765291
609
- :format: tlv8
610
- :unit: nil
611
- :permissions:
612
- - securedRead
613
- :properties:
614
- - read
615
- - write
616
- - cnotify
617
451
  :constraints:
618
452
  - :name: :filter_change_indication
619
453
  :description: Filter Change Indication
620
454
  :uuid: 000000AC-0000-1000-8000-0026BB765291
621
455
  :format: uint8
622
456
  :unit: nil
623
- :permissions:
624
- - securedRead
625
457
  :properties:
626
458
  - read
627
459
  - cnotify
@@ -635,8 +467,6 @@
635
467
  :uuid: 000000AB-0000-1000-8000-0026BB765291
636
468
  :format: float
637
469
  :unit: nil
638
- :permissions:
639
- - securedRead
640
470
  :properties:
641
471
  - read
642
472
  - cnotify
@@ -650,29 +480,22 @@
650
480
  :uuid: 00000052-0000-1000-8000-0026BB765291
651
481
  :format: string
652
482
  :unit: nil
653
- :permissions:
654
- - securedRead
655
483
  :properties:
656
484
  - read
657
- :constraints:
485
+ :constraints:
658
486
  - :name: :hardware_revision
659
487
  :description: Hardware Revision
660
488
  :uuid: 00000053-0000-1000-8000-0026BB765291
661
489
  :format: string
662
490
  :unit: nil
663
- :permissions:
664
- - securedRead
665
491
  :properties:
666
492
  - read
667
- :constraints:
493
+ :constraints:
668
494
  - :name: :heating_threshold_temperature
669
495
  :description: Heating Threshold Temperature
670
496
  :uuid: 00000012-0000-1000-8000-0026BB765291
671
497
  :format: float
672
498
  :unit: '"celsius"'
673
- :permissions:
674
- - securedRead
675
- - securedWrite
676
499
  :properties:
677
500
  - read
678
501
  - write
@@ -687,19 +510,14 @@
687
510
  :uuid: 0000006F-0000-1000-8000-0026BB765291
688
511
  :format: bool
689
512
  :unit: nil
690
- :permissions:
691
- - securedWrite
692
513
  :properties:
693
514
  - write
694
- :constraints:
515
+ :constraints:
695
516
  - :name: :hue
696
517
  :description: Hue
697
518
  :uuid: 00000013-0000-1000-8000-0026BB765291
698
519
  :format: float
699
520
  :unit: '"arcdegrees"'
700
- :permissions:
701
- - securedRead
702
- - securedWrite
703
521
  :properties:
704
522
  - read
705
523
  - write
@@ -709,50 +527,30 @@
709
527
  MaximumValue: 360
710
528
  MinimumValue: 0
711
529
  StepValue: 1
712
- - :name: :identifier
713
- :description: Identifier
714
- :uuid: 000000E6-0000-1000-8000-0026BB765291
715
- :format: uint32
716
- :unit: nil
717
- :permissions:
718
- - securedRead
719
- :properties:
720
- - read
721
- :constraints:
722
- MinimumValue: 0
723
- StepValue: 1
724
530
  - :name: :identify
725
531
  :description: Identify
726
532
  :uuid: 00000014-0000-1000-8000-0026BB765291
727
533
  :format: bool
728
534
  :unit: nil
729
- :permissions:
730
- - securedWrite
731
535
  :properties:
732
536
  - write
733
- :constraints:
537
+ :constraints:
734
538
  - :name: :image_mirroring
735
539
  :description: Image Mirroring
736
540
  :uuid: 0000011F-0000-1000-8000-0026BB765291
737
541
  :format: bool
738
542
  :unit: nil
739
- :permissions:
740
- - securedRead
741
- - securedWrite
742
543
  :properties:
743
544
  - read
744
545
  - write
745
546
  - cnotify
746
547
  - uncnotify
747
- :constraints:
548
+ :constraints:
748
549
  - :name: :image_rotation
749
550
  :description: Image Rotation
750
551
  :uuid: 0000011E-0000-1000-8000-0026BB765291
751
552
  :format: float
752
553
  :unit: '"arcdegrees"'
753
- :permissions:
754
- - securedRead
755
- - securedWrite
756
554
  :properties:
757
555
  - read
758
556
  - write
@@ -767,8 +565,6 @@
767
565
  :uuid: 000000D2-0000-1000-8000-0026BB765291
768
566
  :format: uint8
769
567
  :unit: nil
770
- :permissions:
771
- - securedRead
772
568
  :properties:
773
569
  - read
774
570
  - cnotify
@@ -777,60 +573,11 @@
777
573
  ValidValues:
778
574
  '0': Not in use
779
575
  '1': In use
780
- - :name: :input_device_type
781
- :description: Input Device Type
782
- :uuid: 000000DC-0000-1000-8000-0026BB765291
783
- :format: uint8
784
- :unit: nil
785
- :permissions:
786
- - securedRead
787
- :properties:
788
- - read
789
- - cnotify
790
- :constraints:
791
- MaximumValue: 6
792
- MinimumValue: 0
793
- ValidValues:
794
- '0': Other
795
- '1': Television
796
- '2': Recording
797
- '3': Tuner
798
- '4': Playback
799
- '5': Audio System
800
- '6':
801
- - :name: :input_source_type
802
- :description: Input Source Type
803
- :uuid: 000000DB-0000-1000-8000-0026BB765291
804
- :format: uint8
805
- :unit: nil
806
- :permissions:
807
- - securedRead
808
- :properties:
809
- - read
810
- - cnotify
811
- :constraints:
812
- MaximumValue: 10
813
- MinimumValue: 0
814
- ValidValues:
815
- '0': Other
816
- '1': Home Screen
817
- '2': Tuner
818
- '3': HDMI
819
- '4': Composite Video
820
- '5': S Video
821
- '6': Component Video
822
- '7': DVI
823
- '8': Airplay
824
- '9': USB
825
- '10': Application
826
576
  - :name: :is_configured
827
577
  :description: Is Configured
828
578
  :uuid: 000000D6-0000-1000-8000-0026BB765291
829
579
  :format: uint8
830
580
  :unit: nil
831
- :permissions:
832
- - securedRead
833
- - securedWrite
834
581
  :properties:
835
582
  - read
836
583
  - write
@@ -845,8 +592,6 @@
845
592
  :uuid: 00000070-0000-1000-8000-0026BB765291
846
593
  :format: uint8
847
594
  :unit: nil
848
- :permissions:
849
- - securedRead
850
595
  :properties:
851
596
  - read
852
597
  - cnotify
@@ -860,18 +605,14 @@
860
605
  :uuid: '00000019-0000-1000-8000-0026BB765291'
861
606
  :format: tlv8
862
607
  :unit: nil
863
- :permissions:
864
- - securedWrite
865
608
  :properties:
866
609
  - write
867
- :constraints:
610
+ :constraints:
868
611
  - :name: :lock_current_state
869
612
  :description: Lock Current State
870
613
  :uuid: 0000001D-0000-1000-8000-0026BB765291
871
614
  :format: uint8
872
615
  :unit: nil
873
- :permissions:
874
- - securedRead
875
616
  :properties:
876
617
  - read
877
618
  - cnotify
@@ -887,8 +628,6 @@
887
628
  :uuid: 0000001C-0000-1000-8000-0026BB765291
888
629
  :format: uint8
889
630
  :unit: nil
890
- :permissions:
891
- - securedRead
892
631
  :properties:
893
632
  - read
894
633
  - cnotify
@@ -909,23 +648,17 @@
909
648
  :uuid: 0000001A-0000-1000-8000-0026BB765291
910
649
  :format: uint32
911
650
  :unit: '"seconds"'
912
- :permissions:
913
- - securedRead
914
- - securedWrite
915
651
  :properties:
916
652
  - read
917
653
  - write
918
654
  - cnotify
919
655
  - uncnotify
920
- :constraints:
656
+ :constraints:
921
657
  - :name: :lock_physical_controls
922
658
  :description: Lock Physical Controls
923
659
  :uuid: 000000A7-0000-1000-8000-0026BB765291
924
660
  :format: uint8
925
661
  :unit: nil
926
- :permissions:
927
- - securedRead
928
- - securedWrite
929
662
  :properties:
930
663
  - read
931
664
  - write
@@ -940,9 +673,6 @@
940
673
  :uuid: 0000001E-0000-1000-8000-0026BB765291
941
674
  :format: uint8
942
675
  :unit: nil
943
- :permissions:
944
- - securedRead
945
- - securedWrite
946
676
  :properties:
947
677
  - read
948
678
  - write
@@ -957,90 +687,72 @@
957
687
  :uuid: 0000001F-0000-1000-8000-0026BB765291
958
688
  :format: tlv8
959
689
  :unit: nil
960
- :permissions:
961
- - securedRead
962
690
  :properties:
963
691
  - read
964
692
  - cnotify
965
693
  - uncnotify
966
- :constraints:
694
+ :constraints:
967
695
  - :name: :manufacturer
968
696
  :description: Manufacturer
969
697
  :uuid: 00000020-0000-1000-8000-0026BB765291
970
698
  :format: string
971
699
  :unit: nil
972
- :permissions:
973
- - securedRead
974
700
  :properties:
975
701
  - read
976
- :constraints:
702
+ :constraints:
977
703
  - :name: :model
978
704
  :description: Model
979
705
  :uuid: 00000021-0000-1000-8000-0026BB765291
980
706
  :format: string
981
707
  :unit: nil
982
- :permissions:
983
- - securedRead
984
708
  :properties:
985
709
  - read
986
- :constraints:
710
+ :constraints:
987
711
  - :name: :motion_detected
988
712
  :description: Motion Detected
989
713
  :uuid: 00000022-0000-1000-8000-0026BB765291
990
714
  :format: bool
991
715
  :unit: nil
992
- :permissions:
993
- - securedRead
994
716
  :properties:
995
717
  - read
996
718
  - cnotify
997
719
  - uncnotify
998
- :constraints:
720
+ :constraints:
999
721
  - :name: :mute
1000
722
  :description: Mute
1001
723
  :uuid: 0000011A-0000-1000-8000-0026BB765291
1002
724
  :format: bool
1003
725
  :unit: nil
1004
- :permissions:
1005
- - securedRead
1006
- - securedWrite
1007
726
  :properties:
1008
727
  - read
1009
728
  - write
1010
729
  - cnotify
1011
730
  - uncnotify
1012
- :constraints:
731
+ :constraints:
1013
732
  - :name: :name
1014
733
  :description: Name
1015
734
  :uuid: 00000023-0000-1000-8000-0026BB765291
1016
735
  :format: string
1017
736
  :unit: nil
1018
- :permissions:
1019
- - securedRead
1020
737
  :properties:
1021
738
  - read
1022
- :constraints:
739
+ :constraints:
1023
740
  - :name: :night_vision
1024
741
  :description: Night Vision
1025
742
  :uuid: 0000011B-0000-1000-8000-0026BB765291
1026
743
  :format: bool
1027
744
  :unit: nil
1028
- :permissions:
1029
- - securedRead
1030
- - securedWrite
1031
745
  :properties:
1032
746
  - read
1033
747
  - write
1034
748
  - cnotify
1035
749
  - uncnotify
1036
- :constraints:
750
+ :constraints:
1037
751
  - :name: :nitrogen_dioxide_density
1038
752
  :description: Nitrogen Dioxide Density
1039
753
  :uuid: 000000C4-0000-1000-8000-0026BB765291
1040
754
  :format: float
1041
755
  :unit: nil
1042
- :permissions:
1043
- - securedRead
1044
756
  :properties:
1045
757
  - read
1046
758
  - cnotify
@@ -1054,20 +766,16 @@
1054
766
  :uuid: 00000024-0000-1000-8000-0026BB765291
1055
767
  :format: bool
1056
768
  :unit: nil
1057
- :permissions:
1058
- - securedRead
1059
769
  :properties:
1060
770
  - read
1061
771
  - cnotify
1062
772
  - uncnotify
1063
- :constraints:
773
+ :constraints:
1064
774
  - :name: :occupancy_detected
1065
775
  :description: Occupancy Detected
1066
776
  :uuid: 00000071-0000-1000-8000-0026BB765291
1067
777
  :format: uint8
1068
778
  :unit: nil
1069
- :permissions:
1070
- - securedRead
1071
779
  :properties:
1072
780
  - read
1073
781
  - cnotify
@@ -1081,48 +789,38 @@
1081
789
  :uuid: 00000025-0000-1000-8000-0026BB765291
1082
790
  :format: bool
1083
791
  :unit: nil
1084
- :permissions:
1085
- - securedRead
1086
- - securedWrite
1087
792
  :properties:
1088
793
  - read
1089
794
  - write
1090
795
  - cnotify
1091
796
  - uncnotify
1092
- :constraints:
797
+ :constraints:
1093
798
  - :name: :optical_zoom
1094
799
  :description: Optical Zoom
1095
800
  :uuid: 0000011C-0000-1000-8000-0026BB765291
1096
801
  :format: float
1097
802
  :unit: nil
1098
- :permissions:
1099
- - securedRead
1100
- - securedWrite
1101
803
  :properties:
1102
804
  - read
1103
805
  - write
1104
806
  - cnotify
1105
807
  - uncnotify
1106
- :constraints:
808
+ :constraints:
1107
809
  - :name: :outlet_in_use
1108
810
  :description: Outlet In Use
1109
811
  :uuid: 00000026-0000-1000-8000-0026BB765291
1110
812
  :format: bool
1111
813
  :unit: nil
1112
- :permissions:
1113
- - securedRead
1114
814
  :properties:
1115
815
  - read
1116
816
  - cnotify
1117
817
  - uncnotify
1118
- :constraints:
818
+ :constraints:
1119
819
  - :name: :ozone_density
1120
820
  :description: Ozone Density
1121
821
  :uuid: 000000C3-0000-1000-8000-0026BB765291
1122
822
  :format: float
1123
823
  :unit: nil
1124
- :permissions:
1125
- - securedRead
1126
824
  :properties:
1127
825
  - read
1128
826
  - cnotify
@@ -1136,83 +834,41 @@
1136
834
  :uuid: 0000004C-0000-1000-8000-0026BB765291
1137
835
  :format: tlv8
1138
836
  :unit: nil
1139
- :permissions:
1140
- - read
1141
- - write
1142
837
  :properties:
1143
838
  - read
1144
839
  - write
1145
- :constraints:
840
+ :constraints:
1146
841
  - :name: :pair_verify
1147
842
  :description: Pair Verify
1148
843
  :uuid: 0000004E-0000-1000-8000-0026BB765291
1149
844
  :format: tlv8
1150
845
  :unit: nil
1151
- :permissions:
1152
- - read
1153
- - write
1154
846
  :properties:
1155
847
  - read
1156
848
  - write
1157
- :constraints:
849
+ :constraints:
1158
850
  - :name: :pairing_features
1159
851
  :description: Pairing Features
1160
852
  :uuid: 0000004F-0000-1000-8000-0026BB765291
1161
853
  :format: uint8
1162
854
  :unit: nil
1163
- :permissions:
1164
- - read
1165
855
  :properties:
1166
856
  - read
1167
- :constraints:
857
+ :constraints:
1168
858
  - :name: :pairing_pairings
1169
859
  :description: Pairing Pairings
1170
860
  :uuid: 00000050-0000-1000-8000-0026BB765291
1171
861
  :format: tlv8
1172
862
  :unit: nil
1173
- :permissions:
1174
- - securedRead
1175
- - securedWrite
1176
863
  :properties:
1177
864
  - read
1178
865
  - write
1179
- :constraints:
1180
- - :name: :picture_mode
1181
- :description: Picture Mode
1182
- :uuid: 000000E2-0000-1000-8000-0026BB765291
1183
- :format: uint8
1184
- :unit: nil
1185
- :permissions:
1186
- - securedRead
1187
- :properties:
1188
- - read
1189
- - write
1190
- - cnotify
1191
866
  :constraints:
1192
- MaximumValue: 13
1193
- MinimumValue: 0
1194
- ValidValues:
1195
- '0': Other
1196
- '1': Standard
1197
- '2': Calibrated
1198
- '3': Calibrated Dark
1199
- '4': Vivid
1200
- '5': Game
1201
- '6': Computer
1202
- '7': Custom
1203
- '8':
1204
- '9':
1205
- '10':
1206
- '11':
1207
- '12':
1208
- '13':
1209
867
  - :name: :pm10_density
1210
868
  :description: PM10 Density
1211
869
  :uuid: 000000C7-0000-1000-8000-0026BB765291
1212
870
  :format: float
1213
871
  :unit: nil
1214
- :permissions:
1215
- - securedRead
1216
872
  :properties:
1217
873
  - read
1218
874
  - cnotify
@@ -1226,8 +882,6 @@
1226
882
  :uuid: 000000C6-0000-1000-8000-0026BB765291
1227
883
  :format: float
1228
884
  :unit: nil
1229
- :permissions:
1230
- - securedRead
1231
885
  :properties:
1232
886
  - read
1233
887
  - cnotify
@@ -1241,8 +895,6 @@
1241
895
  :uuid: 00000072-0000-1000-8000-0026BB765291
1242
896
  :format: uint8
1243
897
  :unit: nil
1244
- :permissions:
1245
- - securedRead
1246
898
  :properties:
1247
899
  - read
1248
900
  - cnotify
@@ -1252,28 +904,11 @@
1252
904
  '0': Decreasing
1253
905
  '1': Increasing
1254
906
  '2': Stopped
1255
- - :name: :power_mode_selection
1256
- :description: Power Mode Selection
1257
- :uuid: 000000DF-0000-1000-8000-0026BB765291
1258
- :format: uint8
1259
- :unit: nil
1260
- :permissions:
1261
- - securedRead
1262
- :properties:
1263
- - write
1264
- :constraints:
1265
- MaximumValue: 1
1266
- MinimumValue: 0
1267
- ValidValues:
1268
- '0': Show
1269
- '1': Hide
1270
907
  - :name: :program_mode
1271
908
  :description: Program Mode
1272
909
  :uuid: 000000D1-0000-1000-8000-0026BB765291
1273
910
  :format: uint8
1274
911
  :unit: nil
1275
- :permissions:
1276
- - securedRead
1277
912
  :properties:
1278
913
  - read
1279
914
  - cnotify
@@ -1288,8 +923,6 @@
1288
923
  :uuid: 00000073-0000-1000-8000-0026BB765291
1289
924
  :format: uint8
1290
925
  :unit: nil
1291
- :permissions:
1292
- - securedRead
1293
926
  :properties:
1294
927
  - read
1295
928
  - cnotify
@@ -1304,9 +937,6 @@
1304
937
  :uuid: 000000C9-0000-1000-8000-0026BB765291
1305
938
  :format: float
1306
939
  :unit: '"percentage"'
1307
- :permissions:
1308
- - securedRead
1309
- - securedWrite
1310
940
  :properties:
1311
941
  - read
1312
942
  - write
@@ -1321,9 +951,6 @@
1321
951
  :uuid: 000000CA-0000-1000-8000-0026BB765291
1322
952
  :format: float
1323
953
  :unit: '"percentage"'
1324
- :permissions:
1325
- - securedRead
1326
- - securedWrite
1327
954
  :properties:
1328
955
  - read
1329
956
  - write
@@ -1338,8 +965,6 @@
1338
965
  :uuid: 000000D4-0000-1000-8000-0026BB765291
1339
966
  :format: uint32
1340
967
  :unit: nil
1341
- :permissions:
1342
- - securedRead
1343
968
  :properties:
1344
969
  - read
1345
970
  - cnotify
@@ -1348,43 +973,11 @@
1348
973
  MaximumValue: 3600
1349
974
  MinimumValue: 0
1350
975
  StepValue: 1
1351
- - :name: :remote_key
1352
- :description: Remote Key
1353
- :uuid: 000000E1-0000-1000-8000-0026BB765291
1354
- :format: uint8
1355
- :unit: nil
1356
- :permissions:
1357
- - securedRead
1358
- :properties:
1359
- - write
1360
- :constraints:
1361
- MaximumValue: 16
1362
- MinimumValue: 0
1363
- ValidValues:
1364
- '0': Rewind
1365
- '1': Fast Forward
1366
- '2': Next Track
1367
- '3': Previous Track
1368
- '4': Arrow Up
1369
- '5': Arrow Down
1370
- '6': Arrow Left
1371
- '7': Arrow Right
1372
- '8': Select
1373
- '9': Back
1374
- '10': Exit
1375
- '11': Play Pause
1376
- '12':
1377
- '13':
1378
- '14':
1379
- '15': Information
1380
- '16':
1381
976
  - :name: :reset_filter_indication
1382
977
  :description: Reset Filter Indication
1383
978
  :uuid: 000000AD-0000-1000-8000-0026BB765291
1384
979
  :format: uint8
1385
980
  :unit: nil
1386
- :permissions:
1387
- - securedWrite
1388
981
  :properties:
1389
982
  - write
1390
983
  :constraints:
@@ -1396,9 +989,6 @@
1396
989
  :uuid: '00000028-0000-1000-8000-0026BB765291'
1397
990
  :format: int32
1398
991
  :unit: nil
1399
- :permissions:
1400
- - securedRead
1401
- - securedWrite
1402
992
  :properties:
1403
993
  - read
1404
994
  - write
@@ -1413,9 +1003,6 @@
1413
1003
  :uuid: '00000029-0000-1000-8000-0026BB765291'
1414
1004
  :format: float
1415
1005
  :unit: '"percentage"'
1416
- :permissions:
1417
- - securedRead
1418
- - securedWrite
1419
1006
  :properties:
1420
1007
  - read
1421
1008
  - write
@@ -1430,9 +1017,6 @@
1430
1017
  :uuid: 0000002F-0000-1000-8000-0026BB765291
1431
1018
  :format: float
1432
1019
  :unit: '"percentage"'
1433
- :permissions:
1434
- - securedRead
1435
- - securedWrite
1436
1020
  :properties:
1437
1021
  - read
1438
1022
  - write
@@ -1447,8 +1031,6 @@
1447
1031
  :uuid: '0000008E-0000-1000-8000-0026BB765291'
1448
1032
  :format: uint8
1449
1033
  :unit: nil
1450
- :permissions:
1451
- - securedRead
1452
1034
  :properties:
1453
1035
  - read
1454
1036
  - cnotify
@@ -1462,8 +1044,6 @@
1462
1044
  :uuid: 00000066-0000-1000-8000-0026BB765291
1463
1045
  :format: uint8
1464
1046
  :unit: nil
1465
- :permissions:
1466
- - securedRead
1467
1047
  :properties:
1468
1048
  - read
1469
1049
  - cnotify
@@ -1480,9 +1060,6 @@
1480
1060
  :uuid: 00000067-0000-1000-8000-0026BB765291
1481
1061
  :format: uint8
1482
1062
  :unit: nil
1483
- :permissions:
1484
- - securedRead
1485
- - securedWrite
1486
1063
  :properties:
1487
1064
  - read
1488
1065
  - write
@@ -1499,20 +1076,15 @@
1499
1076
  :uuid: 00000117-0000-1000-8000-0026BB765291
1500
1077
  :format: tlv8
1501
1078
  :unit: nil
1502
- :permissions:
1503
- - securedRead
1504
- - securedWrite
1505
1079
  :properties:
1506
1080
  - read
1507
1081
  - write
1508
- :constraints:
1082
+ :constraints:
1509
1083
  - :name: :serial_number
1510
1084
  :description: Serial Number
1511
1085
  :uuid: 00000030-0000-1000-8000-0026BB765291
1512
1086
  :format: string
1513
1087
  :unit: nil
1514
- :permissions:
1515
- - securedRead
1516
1088
  :properties:
1517
1089
  - read
1518
1090
  :constraints:
@@ -1522,8 +1094,6 @@
1522
1094
  :uuid: 000000CB-0000-1000-8000-0026BB765291
1523
1095
  :format: uint8
1524
1096
  :unit: nil
1525
- :permissions:
1526
- - securedRead
1527
1097
  :properties:
1528
1098
  - read
1529
1099
  :constraints:
@@ -1535,8 +1105,6 @@
1535
1105
  :uuid: 000000CD-0000-1000-8000-0026BB765291
1536
1106
  :format: uint8
1537
1107
  :unit: nil
1538
- :permissions:
1539
- - securedRead
1540
1108
  :properties:
1541
1109
  - read
1542
1110
  :constraints:
@@ -1548,9 +1116,6 @@
1548
1116
  :uuid: 000000D3-0000-1000-8000-0026BB765291
1549
1117
  :format: uint32
1550
1118
  :unit: nil
1551
- :permissions:
1552
- - securedRead
1553
- - securedWrite
1554
1119
  :properties:
1555
1120
  - read
1556
1121
  - write
@@ -1565,49 +1130,26 @@
1565
1130
  :uuid: '00000118-0000-1000-8000-0026BB765291'
1566
1131
  :format: tlv8
1567
1132
  :unit: nil
1568
- :permissions:
1569
- - securedRead
1570
- - securedWrite
1571
1133
  :properties:
1572
1134
  - read
1573
1135
  - write
1574
- :constraints:
1136
+ :constraints:
1575
1137
  - :name: :slat_type
1576
1138
  :description: Slat Type
1577
1139
  :uuid: 000000C0-0000-1000-8000-0026BB765291
1578
1140
  :format: uint8
1579
1141
  :unit: nil
1580
- :permissions:
1581
- - securedRead
1582
1142
  :properties:
1583
1143
  - read
1584
1144
  :constraints:
1585
1145
  ValidValues:
1586
1146
  '0': Horizontal
1587
1147
  '1': Vertical
1588
- - :name: :sleep_discovery_mode
1589
- :description: Sleep Discovery Mode
1590
- :uuid: 000000E8-0000-1000-8000-0026BB765291
1591
- :format: uint8
1592
- :unit: nil
1593
- :permissions:
1594
- - securedRead
1595
- :properties:
1596
- - read
1597
- - cnotify
1598
- :constraints:
1599
- MaximumValue: 1
1600
- MinimumValue: 0
1601
- ValidValues:
1602
- '0': Not Discoverable
1603
- '1': Always Discoverable
1604
1148
  - :name: :smoke_detected
1605
1149
  :description: Smoke Detected
1606
1150
  :uuid: 00000076-0000-1000-8000-0026BB765291
1607
1151
  :format: uint8
1608
1152
  :unit: nil
1609
- :permissions:
1610
- - securedRead
1611
1153
  :properties:
1612
1154
  - read
1613
1155
  - cnotify
@@ -1621,20 +1163,16 @@
1621
1163
  :uuid: 00000075-0000-1000-8000-0026BB765291
1622
1164
  :format: bool
1623
1165
  :unit: nil
1624
- :permissions:
1625
- - securedRead
1626
1166
  :properties:
1627
1167
  - read
1628
1168
  - cnotify
1629
1169
  - uncnotify
1630
- :constraints:
1170
+ :constraints:
1631
1171
  - :name: :status_fault
1632
1172
  :description: Status Fault
1633
1173
  :uuid: 00000077-0000-1000-8000-0026BB765291
1634
1174
  :format: uint8
1635
1175
  :unit: nil
1636
- :permissions:
1637
- - securedRead
1638
1176
  :properties:
1639
1177
  - read
1640
1178
  - cnotify
@@ -1648,8 +1186,6 @@
1648
1186
  :uuid: '00000078-0000-1000-8000-0026BB765291'
1649
1187
  :format: uint8
1650
1188
  :unit: nil
1651
- :permissions:
1652
- - securedRead
1653
1189
  :properties:
1654
1190
  - read
1655
1191
  - cnotify
@@ -1663,8 +1199,6 @@
1663
1199
  :uuid: '00000079-0000-1000-8000-0026BB765291'
1664
1200
  :format: uint8
1665
1201
  :unit: nil
1666
- :permissions:
1667
- - securedRead
1668
1202
  :properties:
1669
1203
  - read
1670
1204
  - cnotify
@@ -1678,8 +1212,6 @@
1678
1212
  :uuid: 0000007A-0000-1000-8000-0026BB765291
1679
1213
  :format: uint8
1680
1214
  :unit: nil
1681
- :permissions:
1682
- - securedRead
1683
1215
  :properties:
1684
1216
  - read
1685
1217
  - cnotify
@@ -1693,20 +1225,16 @@
1693
1225
  :uuid: 00000120-0000-1000-8000-0026BB765291
1694
1226
  :format: tlv8
1695
1227
  :unit: nil
1696
- :permissions:
1697
- - securedRead
1698
1228
  :properties:
1699
1229
  - read
1700
1230
  - cnotify
1701
1231
  - uncnotify
1702
- :constraints:
1232
+ :constraints:
1703
1233
  - :name: :sulphur_dioxide_density
1704
1234
  :description: Sulphur Dioxide Density
1705
1235
  :uuid: 000000C5-0000-1000-8000-0026BB765291
1706
1236
  :format: float
1707
1237
  :unit: nil
1708
- :permissions:
1709
- - securedRead
1710
1238
  :properties:
1711
1239
  - read
1712
1240
  - cnotify
@@ -1720,39 +1248,30 @@
1720
1248
  :uuid: 00000115-0000-1000-8000-0026BB765291
1721
1249
  :format: tlv8
1722
1250
  :unit: nil
1723
- :permissions:
1724
- - securedRead
1725
1251
  :properties:
1726
1252
  - read
1727
- :constraints:
1253
+ :constraints:
1728
1254
  - :name: :supported_rtp_configuration
1729
1255
  :description: Supported RTP Configuration
1730
1256
  :uuid: 00000116-0000-1000-8000-0026BB765291
1731
1257
  :format: tlv8
1732
1258
  :unit: nil
1733
- :permissions:
1734
- - securedRead
1735
1259
  :properties:
1736
1260
  - read
1737
- :constraints:
1261
+ :constraints:
1738
1262
  - :name: :supported_video_stream_configuration
1739
1263
  :description: Supported Video Stream Configuration
1740
1264
  :uuid: 00000114-0000-1000-8000-0026BB765291
1741
1265
  :format: tlv8
1742
1266
  :unit: nil
1743
- :permissions:
1744
- - securedRead
1745
1267
  :properties:
1746
1268
  - read
1747
- :constraints:
1269
+ :constraints:
1748
1270
  - :name: :swing_mode
1749
1271
  :description: Swing Mode
1750
1272
  :uuid: 000000B6-0000-1000-8000-0026BB765291
1751
1273
  :format: uint8
1752
1274
  :unit: nil
1753
- :permissions:
1754
- - securedRead
1755
- - securedWrite
1756
1275
  :properties:
1757
1276
  - read
1758
1277
  - write
@@ -1767,9 +1286,6 @@
1767
1286
  :uuid: 000000A8-0000-1000-8000-0026BB765291
1768
1287
  :format: uint8
1769
1288
  :unit: nil
1770
- :permissions:
1771
- - securedRead
1772
- - securedWrite
1773
1289
  :properties:
1774
1290
  - read
1775
1291
  - write
@@ -1784,9 +1300,6 @@
1784
1300
  :uuid: 000000AE-0000-1000-8000-0026BB765291
1785
1301
  :format: uint8
1786
1302
  :unit: nil
1787
- :permissions:
1788
- - securedRead
1789
- - securedWrite
1790
1303
  :properties:
1791
1304
  - read
1792
1305
  - write
@@ -1802,9 +1315,6 @@
1802
1315
  :uuid: 00000032-0000-1000-8000-0026BB765291
1803
1316
  :format: uint8
1804
1317
  :unit: nil
1805
- :permissions:
1806
- - securedRead
1807
- - securedWrite
1808
1318
  :properties:
1809
1319
  - read
1810
1320
  - write
@@ -1819,9 +1329,6 @@
1819
1329
  :uuid: 000000BF-0000-1000-8000-0026BB765291
1820
1330
  :format: uint8
1821
1331
  :unit: nil
1822
- :permissions:
1823
- - securedRead
1824
- - securedWrite
1825
1332
  :properties:
1826
1333
  - read
1827
1334
  - write
@@ -1836,9 +1343,6 @@
1836
1343
  :uuid: 000000B2-0000-1000-8000-0026BB765291
1837
1344
  :format: uint8
1838
1345
  :unit: nil
1839
- :permissions:
1840
- - securedRead
1841
- - securedWrite
1842
1346
  :properties:
1843
1347
  - read
1844
1348
  - write
@@ -1854,9 +1358,6 @@
1854
1358
  :uuid: 00000033-0000-1000-8000-0026BB765291
1855
1359
  :format: uint8
1856
1360
  :unit: nil
1857
- :permissions:
1858
- - securedRead
1859
- - securedWrite
1860
1361
  :properties:
1861
1362
  - read
1862
1363
  - write
@@ -1873,9 +1374,6 @@
1873
1374
  :uuid: 0000007B-0000-1000-8000-0026BB765291
1874
1375
  :format: int32
1875
1376
  :unit: '"arcdegrees"'
1876
- :permissions:
1877
- - securedRead
1878
- - securedWrite
1879
1377
  :properties:
1880
1378
  - read
1881
1379
  - write
@@ -1890,9 +1388,6 @@
1890
1388
  :uuid: 000000B4-0000-1000-8000-0026BB765291
1891
1389
  :format: uint8
1892
1390
  :unit: nil
1893
- :permissions:
1894
- - securedRead
1895
- - securedWrite
1896
1391
  :properties:
1897
1392
  - read
1898
1393
  - write
@@ -1903,32 +1398,11 @@
1903
1398
  '0': Humidifier or Dehumidifier
1904
1399
  '1': Humidifier
1905
1400
  '2': Dehumidifier
1906
- - :name: :target_media_state
1907
- :description: Target Media State
1908
- :uuid: 00000137-0000-1000-8000-0026BB765291
1909
- :format: uint8
1910
- :unit: nil
1911
- :permissions:
1912
- - securedRead
1913
- :properties:
1914
- - read
1915
- - write
1916
- - cnotify
1917
- :constraints:
1918
- MaximumValue: 2
1919
- MinimumValue: 0
1920
- ValidValues:
1921
- '0': Play
1922
- '1': Pause
1923
- '2': Stop
1924
1401
  - :name: :target_position
1925
1402
  :description: Target Position
1926
1403
  :uuid: 0000007C-0000-1000-8000-0026BB765291
1927
1404
  :format: uint8
1928
1405
  :unit: '"percentage"'
1929
- :permissions:
1930
- - securedRead
1931
- - securedWrite
1932
1406
  :properties:
1933
1407
  - read
1934
1408
  - write
@@ -1943,9 +1417,6 @@
1943
1417
  :uuid: 00000034-0000-1000-8000-0026BB765291
1944
1418
  :format: float
1945
1419
  :unit: '"percentage"'
1946
- :permissions:
1947
- - securedRead
1948
- - securedWrite
1949
1420
  :properties:
1950
1421
  - read
1951
1422
  - write
@@ -1960,9 +1431,6 @@
1960
1431
  :uuid: 000000BE-0000-1000-8000-0026BB765291
1961
1432
  :format: uint8
1962
1433
  :unit: nil
1963
- :permissions:
1964
- - securedRead
1965
- - securedWrite
1966
1434
  :properties:
1967
1435
  - read
1968
1436
  - write
@@ -1977,9 +1445,6 @@
1977
1445
  :uuid: 00000035-0000-1000-8000-0026BB765291
1978
1446
  :format: float
1979
1447
  :unit: '"celsius"'
1980
- :permissions:
1981
- - securedRead
1982
- - securedWrite
1983
1448
  :properties:
1984
1449
  - read
1985
1450
  - write
@@ -1994,9 +1459,6 @@
1994
1459
  :uuid: 000000C2-0000-1000-8000-0026BB765291
1995
1460
  :format: int32
1996
1461
  :unit: '"arcdegrees"'
1997
- :permissions:
1998
- - securedRead
1999
- - securedWrite
2000
1462
  :properties:
2001
1463
  - read
2002
1464
  - write
@@ -2011,9 +1473,6 @@
2011
1473
  :uuid: 0000007D-0000-1000-8000-0026BB765291
2012
1474
  :format: int32
2013
1475
  :unit: '"arcdegrees"'
2014
- :permissions:
2015
- - securedRead
2016
- - securedWrite
2017
1476
  :properties:
2018
1477
  - read
2019
1478
  - write
@@ -2023,31 +1482,11 @@
2023
1482
  MaximumValue: 90
2024
1483
  MinimumValue: -90
2025
1484
  StepValue: 1
2026
- - :name: :target_visibility_state
2027
- :description: Target Visibility State
2028
- :uuid: 00000134-0000-1000-8000-0026BB765291
2029
- :format: uint8
2030
- :unit: nil
2031
- :permissions:
2032
- - securedRead
2033
- :properties:
2034
- - read
2035
- - write
2036
- - cnotify
2037
- :constraints:
2038
- MaximumValue: 1
2039
- MinimumValue: 0
2040
- ValidValues:
2041
- '0': Shown
2042
- '1': Hidden
2043
1485
  - :name: :temperature_display_units
2044
1486
  :description: Temperature Display Units
2045
1487
  :uuid: 00000036-0000-1000-8000-0026BB765291
2046
1488
  :format: uint8
2047
1489
  :unit: nil
2048
- :permissions:
2049
- - securedRead
2050
- - securedWrite
2051
1490
  :properties:
2052
1491
  - read
2053
1492
  - write
@@ -2062,8 +1501,6 @@
2062
1501
  :uuid: 000000D5-0000-1000-8000-0026BB765291
2063
1502
  :format: uint8
2064
1503
  :unit: nil
2065
- :permissions:
2066
- - securedRead
2067
1504
  :properties:
2068
1505
  - read
2069
1506
  - cnotify
@@ -2079,8 +1516,6 @@
2079
1516
  :uuid: 00000037-0000-1000-8000-0026BB765291
2080
1517
  :format: string
2081
1518
  :unit: nil
2082
- :permissions:
2083
- - securedRead
2084
1519
  :properties:
2085
1520
  - read
2086
1521
  - cnotify
@@ -2092,8 +1527,6 @@
2092
1527
  :uuid: 000000C8-0000-1000-8000-0026BB765291
2093
1528
  :format: float
2094
1529
  :unit: nil
2095
- :permissions:
2096
- - securedRead
2097
1530
  :properties:
2098
1531
  - read
2099
1532
  - cnotify
@@ -2107,9 +1540,6 @@
2107
1540
  :uuid: '00000119-0000-1000-8000-0026BB765291'
2108
1541
  :format: uint8
2109
1542
  :unit: '"percentage"'
2110
- :permissions:
2111
- - securedRead
2112
- - securedWrite
2113
1543
  :properties:
2114
1544
  - read
2115
1545
  - write
@@ -2119,46 +1549,11 @@
2119
1549
  MaximumValue: 100
2120
1550
  MinimumValue: 0
2121
1551
  StepValue: 1
2122
- - :name: :volume_control_type
2123
- :description: Volume Control Type
2124
- :uuid: 000000E9-0000-1000-8000-0026BB765291
2125
- :format: uint8
2126
- :unit: nil
2127
- :permissions:
2128
- - securedRead
2129
- :properties:
2130
- - read
2131
- - cnotify
2132
- :constraints:
2133
- MaximumValue: 3
2134
- MinimumValue: 0
2135
- ValidValues:
2136
- '0': None
2137
- '1': Relative
2138
- '2': Relative with Current
2139
- '3': Absolute
2140
- - :name: :volume_selector
2141
- :description: Volume Selector
2142
- :uuid: 000000EA-0000-1000-8000-0026BB765291
2143
- :format: uint8
2144
- :unit: nil
2145
- :permissions:
2146
- - securedRead
2147
- :properties:
2148
- - write
2149
- :constraints:
2150
- MaximumValue: 1
2151
- MinimumValue: 0
2152
- ValidValues:
2153
- '0': Increment
2154
- '1': Decrement
2155
1552
  - :name: :water_level
2156
1553
  :description: Water Level
2157
1554
  :uuid: 000000B5-0000-1000-8000-0026BB765291
2158
1555
  :format: float
2159
1556
  :unit: '"percentage"'
2160
- :permissions:
2161
- - securedRead
2162
1557
  :properties:
2163
1558
  - read
2164
1559
  - cnotify