Class: Seam::Resources::Device::Properties::AqaraMetadata
- Inherits:
-
BaseResource
- Object
- BaseResource
- Seam::Resources::Device::Properties::AqaraMetadata
- Defined in:
- lib/seam/resources/device.rb
Instance Attribute Summary collapse
-
#device_name ⇒ String?
Device name for an Aqara device.
-
#did ⇒ String?
Device ID (did) for an Aqara device.
-
#firmware_version ⇒ String?
Firmware version for an Aqara device.
-
#model ⇒ String?
Model identifier for an Aqara device.
-
#model_type ⇒ Float?
Model type for an Aqara device.
-
#parent_did ⇒ String?
Parent gateway device ID for an Aqara device.
-
#position_id ⇒ String?
Position (room) ID for an Aqara device.
-
#time_zone ⇒ String?
Time zone reported for an Aqara device (e.g. GMT-07:00).
Attributes inherited from BaseResource
Method Summary
Methods inherited from BaseResource
#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response
Constructor Details
This class inherits a constructor from Seam::Resources::BaseResource
Instance Attribute Details
#device_name ⇒ String?
Device name for an Aqara device.
165 166 167 |
# File 'lib/seam/resources/device.rb', line 165 def device_name @device_name end |
#did ⇒ String?
Device ID (did) for an Aqara device.
168 169 170 |
# File 'lib/seam/resources/device.rb', line 168 def did @did end |
#firmware_version ⇒ String?
Firmware version for an Aqara device.
171 172 173 |
# File 'lib/seam/resources/device.rb', line 171 def firmware_version @firmware_version end |
#model ⇒ String?
Model identifier for an Aqara device.
174 175 176 |
# File 'lib/seam/resources/device.rb', line 174 def model @model end |
#model_type ⇒ Float?
Model type for an Aqara device.
177 178 179 |
# File 'lib/seam/resources/device.rb', line 177 def model_type @model_type end |
#parent_did ⇒ String?
Parent gateway device ID for an Aqara device.
180 181 182 |
# File 'lib/seam/resources/device.rb', line 180 def parent_did @parent_did end |
#position_id ⇒ String?
Position (room) ID for an Aqara device.
183 184 185 |
# File 'lib/seam/resources/device.rb', line 183 def position_id @position_id end |
#time_zone ⇒ String?
Time zone reported for an Aqara device (e.g. GMT-07:00).
186 187 188 |
# File 'lib/seam/resources/device.rb', line 186 def time_zone @time_zone end |