HomeconnectLocal::Parser
Constants
DESCRIPTION_PROTOCOL_TYPES = {1 => "Boolean", 2 => "Integer", 3 => "Integer", 4 => "Float", 5 => "String", 16 => "Integer", 17 => "Float", 21 => "Integer"}
DESCRIPTION_TYPES = {1 => "boolean", 2 => "integer", 3 => "enumeration", 4 => "float", 5 => "string", 16 => "timeSpan", 17 => "percent", 21 => "uidValue"}
Ported from python homeconnect_websocket/const.py mapping.
Note: we only include the handful we need for typing conversions.
Class methods
parse_device_description(device_xml : String, feature_xml : String) : DeviceDescription
Parse device description + feature mapping into DeviceDescription.
parse_feature_mapping(xml : String) : FeatureMap
Source