def set_cache_value(self, name, value):
dev_info = self.json_state.get('<STR_LIT>')<EOL>if dev_info.get(name.lower()) is None:<EOL><INDENT>logger.error("<STR_LIT>",<EOL>name, self.name)<EOL>logger.error("<STR_LIT>", dev_info)<EOL>return<EOL><DEDENT>dev_info[name.lower()] = str(value)<EOL>
Set a variable in the local state dictionary.

        This does not change the physical device. Useful if you want the
        device state to refect a new value which has not yet updated drom
        Vera.