Get

class st.zwave.CommandClass.Battery.Get

Dynamically versioned BATTERY_GET

Supported versions: 1,2,3; unique base versions: 1

cmd_class: number

0x80

cmd_id: number

0x02

version: number

1

args: st.zwave.CommandClass.Battery.GetV1Args
construct(module, args)

Construct a BATTERY_GET object at the module instance serialization version.

Parameters
Return type

st.zwave.CommandClass.Battery.Get

class st.zwave.CommandClass.Battery.GetV1: st.zwave.Command

v1 and forward-compatible v2,v3 BATTERY_GET

cmd_class: number

0x80

cmd_id: number

0x02

version: number

1

args: st.zwave.CommandClass.Battery.GetV1Args

command-specific arguments

init(module, args)

Initialize a v1 and forward-compatible v2,v3 BATTERY_GET object.

Parameters
serialize()

Serialize v1 or forward-compatible v2,v3 BATTERY_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 or forward-compatible v2,v3 BATTERY_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Battery.GetV1Args

class st.zwave.CommandClass.Battery.GetV1Args