diff --git a/src/pyatmo/weather_station.py b/src/pyatmo/weather_station.py
index 79be749..df30eed 100644
--- a/src/pyatmo/weather_station.py
+++ b/src/pyatmo/weather_station.py
@@ -193,7 +193,8 @@ class WeatherStationData:
         for st in stations:
             s = self.stationById(st) if byId else self.stationByName(st)
             if not s or "dashboard_data" not in s:
-                return None
+                LOG.info("Not dashboard data for station %s", st)
+                continue
             # Define oldest acceptable sensor measure event
             limit = (time.time() - exclude) if exclude else 0
             ds = s["dashboard_data"]

If one netatmo weather station lost, all stations are lost
https://github.com/home-assistant/home-assistant/issues/30291
diff --git a/tests/test_pyatmo_weatherstation.py b/tests/test_pyatmo_weatherstation.py
index 5072931..c2e8267 100644
--- a/tests/test_pyatmo_weatherstation.py
+++ b/tests/test_pyatmo_weatherstation.py
@@ -354,7 +354,7 @@ def test_WeatherStationData_monitoredConditions(
                 "Yard",
             ],
         ),
-        ("NoValidStation", None, False, None),
+        ("NoValidStation", None, False, {}),
         (
             None,
             1000000,
@@ -395,7 +395,7 @@ def test_WeatherStationData_lastData(
     if mod:
         assert sorted(mod) == expected
     else:
-        assert mod is expected
+        assert mod == expected
 
 
 @freeze_time("2019-06-11")
@@ -414,8 +414,8 @@ def test_WeatherStationData_lastData(
                 "12:34:56:37:11:ca",
             ],
         ),
-        ("", None, None,),
-        ("NoValidStation", None, None),
+        ("", None, {},),
+        ("NoValidStation", None, {},),
         (
             "12:34:56:37:11:ca",
             1000000,
@@ -448,7 +448,7 @@ def test_WeatherStationData_lastData_byId(
     if mod:
         assert sorted(mod) == expected
     else:
-        assert mod is expected
+        assert mod == expected
 
 
 @freeze_time("2019-06-11")
@@ -567,3 +567,44 @@ def test_WeatherStationData_lastData_measurements(weatherStationData):
     assert mod["NetatmoIndoor"]["max_temp"] == 25.6
     assert mod["NetatmoIndoor"]["Temperature"] == 24.6
     assert mod["NetatmoIndoor"]["Pressure"] == 1017.3
+
+
+@freeze_time("2019-06-11")
+@pytest.mark.parametrize(
+    "station, exclude, expected",
+    [
+        (
+            "12:34:56:37:11:ca",
+            None,
+            [
+                "12:34:56:03:1b:e4",
+                "12:34:56:05:51:20",
+                "12:34:56:07:bb:0e",
+                "12:34:56:07:bb:3e",
+                "12:34:56:36:fc:de",
+                "12:34:56:37:11:ca",
+            ],
+        ),
+        (
+            None,
+            None,
+            [
+                "12:34:56:03:1b:e4",
+                "12:34:56:05:51:20",
+                "12:34:56:07:bb:0e",
+                "12:34:56:07:bb:3e",
+                "12:34:56:36:fc:de",
+                "12:34:56:37:11:ca",
+            ],
+        ),
+        ("12:34:56:00:aa:01", None, {},),
+    ],
+)
+def test_WeatherStationData_lastData_bug_97(
+    weatherStationData, station, exclude, expected
+):
+    mod = weatherStationData.lastData(station, exclude, byId=True)
+    if mod:
+        assert sorted(mod) == expected
+    else:
+        assert mod == expected

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-mock requests-mock freezegun
3.7
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi @ file:///croot/certifi_1671487769961/work/certifi
charset-normalizer==3.4.1
coverage==7.2.7
exceptiongroup==1.2.2
freezegun==1.5.1
idna==3.10
importlib-metadata==6.7.0
iniconfig==2.0.0
oauthlib==3.2.2
packaging==24.0
pluggy==1.2.0
-e git+https://github.com/jabesq/netatmo-api-python.git@dbc69dc23708cfc5c717909f3627655dd0082676#egg=pyatmo
pytest==7.4.4
pytest-cov==4.1.0
pytest-mock==3.11.1
python-dateutil==2.9.0.post0
requests==2.31.0
requests-mock==1.12.1
requests-oauthlib==2.0.0
six==1.17.0
tomli==2.0.1
typing_extensions==4.7.1
urllib3==2.0.7
zipp==3.15.0

name: netatmo-api-python
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - charset-normalizer==3.4.1
      - coverage==7.2.7
      - exceptiongroup==1.2.2
      - freezegun==1.5.1
      - idna==3.10
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - oauthlib==3.2.2
      - packaging==24.0
      - pluggy==1.2.0
      - pyatmo==3.2.0
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytest-mock==3.11.1
      - python-dateutil==2.9.0.post0
      - requests==2.31.0
      - requests-mock==1.12.1
      - requests-oauthlib==2.0.0
      - six==1.17.0
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - zipp==3.15.0
prefix: /opt/conda/envs/netatmo-api-python

tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData[NoValidStation-None-False-expected2] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_byId[-None-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_byId[NoValidStation-None-expected2] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_bug_97[12:34:56:00:aa:01-None-expected2]
tests/test_pyatmo_weatherstation.py::test_WeatherStationData tests/test_pyatmo_weatherstation.py::test_WeatherStationData_no_response tests/test_pyatmo_weatherstation.py::test_WeatherStationData_no_body tests/test_pyatmo_weatherstation.py::test_WeatherStationData_no_data tests/test_pyatmo_weatherstation.py::test_WeatherStationData_modulesNamesList[None-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_modulesNamesList[MyStation-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_getModules[None-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_getModules[MyStation-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_stationByName tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[Kitchen-None-12:34:56:07:bb:3e] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[Kitchen-MyStation-12:34:56:07:bb:3e] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[Kitchen-NoValidStation-None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[NetatmoIndoor-None-12:34:56:37:11:ca] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[NetatmoIndoor-MyStation-12:34:56:37:11:ca] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[-None-None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[--None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleByName[None-None-None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleById[12:34:56:07:bb:3e-None-12:34:56:07:bb:3e] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleById[12:34:56:07:bb:3e-12:34:56:37:11:ca-12:34:56:07:bb:3e] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleById[-None-None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleById[--None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_moduleById[None-None-None] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_monitoredConditions[None-12:34:56:07:bb:3e-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_monitoredConditions[Kitchen-None-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_monitoredConditions[Garden-None-expected2] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_monitoredConditions[Yard-None-expected3] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_monitoredConditions[NetatmoIndoor-None-expected4] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData[MyStation-None-False-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData[-None-False-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData[None-1000000-False-expected3] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData[None-798103-False-expected4] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData[None-798103-True-expected5] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_byId[12:34:56:37:11:ca-None-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_byId[12:34:56:37:11:ca-1000000-expected3] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_byId[12:34:56:37:11:ca-798103-expected4] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_checkNotUpdated[MyStation-3600-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_checkNotUpdated[None-3600-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_checkNotUpdated[-3600-expected2] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_checkUpdated[MyStation-798500-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_checkUpdated[None-798500-expected1] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_getMeasure[MyStation-scale-type-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_measurements tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_bug_97[12:34:56:37:11:ca-None-expected0] tests/test_pyatmo_weatherstation.py::test_WeatherStationData_lastData_bug_97[None-None-expected1]
src/pyatmo/weather_station.py
src/pyatmo/weather_station.py