constructor(options) {
        super(options);

        this.value = options.value;
        this.flag = options.flag ?? StatusStateAttribute.FLAG.NONE;

        this.error = this.value === StatusStateAttribute.VALUE.ERROR ? options.error : undefined;
    }
@param {object} options
@param {StatusStateAttributeValue} options.value
@param {StatusStateAttributeFlag} [options.flag]
@param {import("../../core/ValetudoRobotError")} [options.error]
@param {object} [options.metaData]