def refresh_complex_value(self, name):
for item in self.json_state.get('<STR_LIT>'):<EOL><INDENT>if item.get('<STR_LIT>') == name:<EOL><INDENT>service_id = item.get('<STR_LIT>')<EOL>result = self.vera_request(**{<EOL>'<STR_LIT:id>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': self.device_id,<EOL>'<STR_LIT>': service_id,<EOL>'<STR_LIT>': name<EOL>})<EOL>item['<STR_LIT:value>'] = result.text<EOL>return item.get('<STR_LIT:value>')<EOL><DEDENT><DEDENT>return None<EOL>
Refresh a value from the service dictionaries.

        It's best to use get_value / refresh if it has the data you need.