@override Future<void> updateState(String? newState) async { await _cacheApi.setString(stateKey, newState); super.updateState(newState); }