def connected_device(): return Device(name="Anthony's Sonos", identifier="RINCON_XXXX", volume=10)
def connected_device(): return Device.from_dict({ 'name': 'Antho', 'identifier': 'RINCON_XXXXXX', 'volume': 10 })
def connected_device(): return Device.from_dict({ 'identifier': 'RINCON_7828CA10127001400', 'name': 'Antho Room', 'volume': 18 })
def parse_device_object_from_json_member_payload(self, member): return Device(member['uuid'], member['roomName'], int(member['state']['volume']))