def __set_config_value(self, key, value):
self.check_owner()<EOL>params = {"<STR_LIT>": self.room_id, "<STR_LIT>": to_json({key: value})}<EOL>resp = self.conn.make_api_call("<STR_LIT>", params)<EOL>if "<STR_LIT:error>" in resp:<EOL><INDENT>raise RuntimeError(f"<STR_LIT>")<EOL><DEDENT>return resp<EOL>
Sets a value for a room config