diff --git a/fixtures/home_status_error_disconnected.json b/fixtures/home_status_error_disconnected.json
new file mode 100644
index 0000000..0059e9b
--- /dev/null
+++ b/fixtures/home_status_error_disconnected.json
@@ -0,0 +1,15 @@
+{ 
+   "status":"ok",
+   "body":{ 
+      "errors":[ 
+         { 
+            "code":6,
+            "id":"12:34:56:00:fa:d0"
+         }
+      ],
+      "home":{ 
+         "id":"12:34:56:00:f1:62"
+      }
+   },
+   "time_server":1559292039
+}
\ No newline at end of file
diff --git a/src/pyatmo/thermostat.py b/src/pyatmo/thermostat.py
index 5f2ac9b..0491aca 100644
--- a/src/pyatmo/thermostat.py
+++ b/src/pyatmo/thermostat.py
@@ -165,7 +165,12 @@ class HomeStatus:
         postParams = {"access_token": self.getAuthToken, "home_id": self.home_id}
 
         resp = postRequest(_GETHOMESTATUS_REQ, postParams)
-        if "errors" in resp or "body" not in resp or "home" not in resp["body"]:
+        if (
+            "errors" in resp
+            or "body" not in resp
+            or "home" not in resp["body"]
+            or ("errors" in resp["body"] and "modules" not in resp["body"]["home"])
+        ):
             raise NoDevice("No device found, errors in response")
         self.rawData = resp["body"]["home"]
         self.rooms = {}

diff --git a/tests/test_pyatmo_thermostat.py b/tests/test_pyatmo_thermostat.py
index de930a2..4f85098 100644
--- a/tests/test_pyatmo_thermostat.py
+++ b/tests/test_pyatmo_thermostat.py
@@ -463,3 +463,22 @@ def test_HomeData_setroomThermpoint_error(
         )["error"]["message"]
         == expected
     )
+
+
+def test_HomeStatus_error_disconnected(auth, requests_mock):
+    with open("fixtures/home_status_error_disconnected.json") as f:
+        json_fixture = json.load(f)
+    requests_mock.post(
+        pyatmo.thermostat._GETHOMESTATUS_REQ,
+        json=json_fixture,
+        headers={"content-type": "application/json"},
+    )
+    with open("fixtures/home_data_simple.json") as f:
+        json_fixture = json.load(f)
+    requests_mock.post(
+        pyatmo.thermostat._GETHOMESDATA_REQ,
+        json=json_fixture,
+        headers={"content-type": "application/json"},
+    )
+    with pytest.raises(pyatmo.NoDevice):
+        pyatmo.HomeStatus(auth)

Thermostat disconnected - error not catch
Hi guys, 

I have an issue when my thermostat is disconnected (wifi connection lost...).

I analyse the json received from netatmo, the error tag is include in body, not at root level:
```
{ 
   'status':'ok',
   'body':{ 
      'errors':[ 
         { 
            'code':6,
            'id':'xx:xx:xx:xx:xx:xx'
         }
      ],
      'home':{ 
         'id':'xx'
      }
   },
   'time_server':xxx
}
```

In the thermostat.py, the error is checked in `resp` and not in `resp["body"]` ([after post_request](https://github.com/jabesq/netatmo-api-python/blob/master/src/pyatmo/thermostat.py#L168)):
`if "errors" in resp or "body" not in resp or "home" not in resp["body"]:`

I don't know if the case of error in root level exists...

Thanks.
tests/test_pyatmo_thermostat.py::test_HomeStatus_error_disconnected
tests/test_pyatmo_thermostat.py::test_HomeData_no_data tests/test_pyatmo_thermostat.py::test_HomeData_switchHomeSchedule[None-591b54a2764ff4d50d8b5795-None-expected2] tests/test_pyatmo_thermostat.py::test_HomeStatus_relayById tests/test_pyatmo_thermostat.py::test_HomeData_setroomThermpoint_error[91763b24c43d3e344f424e8b-None-home-None-home_status_error_missing_parameters.json-Missing tests/test_pyatmo_thermostat.py::test_HomeData_no_body tests/test_pyatmo_thermostat.py::test_HomeData_setThermmode[invalidID-away-home_status_error_invalid_id.json-Invalid tests/test_pyatmo_thermostat.py::test_HomeStatus tests/test_pyatmo_thermostat.py::test_HomeStatus_getAwaytemp tests/test_pyatmo_thermostat.py::test_HomeStatus_measuredTemperature tests/test_pyatmo_thermostat.py::test_HomeData_getSelectedschedule tests/test_pyatmo_thermostat.py::test_HomeStatus_thermostatById tests/test_pyatmo_thermostat.py::test_HomeStatus_roomById tests/test_pyatmo_thermostat.py::test_HomeData_setroomThermpoint_error[91763b24c43d3e344f424e8b-2746182631-home-None-home_status_error_missing_parameters.json-Missing tests/test_pyatmo_thermostat.py::test_HomeData_no_home_name tests/test_pyatmo_thermostat.py::test_HomeStatus_valveById tests/test_pyatmo_thermostat.py::test_HomeStatus_getHgtemp tests/test_pyatmo_thermostat.py::test_HomeData_setThermmode[91763b24c43d3e344f424e8b-away-status_ok.json-ok] tests/test_pyatmo_thermostat.py::test_HomeStatus_thermostatType tests/test_pyatmo_thermostat.py::test_HomeData_setThermmode[91763b24c43d3e344f424e8b-None-home_status_error_mode_is_missing.json-mode tests/test_pyatmo_thermostat.py::test_HomeData_switchHomeSchedule[None-123456789abcdefg12345678-None-expected4] tests/test_pyatmo_thermostat.py::test_HomeStatus_boilerStatus tests/test_pyatmo_thermostat.py::test_HomeData_setroomThermpoint_error[None-None-None-None-home_status_error_missing_home_id.json-Missing tests/test_pyatmo_thermostat.py::test_HomeData_switchHomeSchedule[None-None-Summer-expected3] tests/test_pyatmo_thermostat.py::test_HomeStatus_error tests/test_pyatmo_thermostat.py::test_HomeData_homeById tests/test_pyatmo_thermostat.py::test_HomeData_switchHomeSchedule[None-None-Default-expected1] tests/test_pyatmo_thermostat.py::test_HomeData tests/test_pyatmo_thermostat.py::test_HomeStatus_setPointmode tests/test_pyatmo_thermostat.py::test_HomeData_switchHomeSchedule[None-None-None-expected0] tests/test_pyatmo_thermostat.py::test_HomeData_gethomeId tests/test_pyatmo_thermostat.py::test_HomeData_getHomeName tests/test_pyatmo_thermostat.py::test_HomeData_setThermmode[None-None-home_status_error_mode_is_missing.json-mode tests/test_pyatmo_thermostat.py::test_HomeData_homeByName tests/test_pyatmo_thermostat.py::test_HomeStatus_setPoint tests/test_pyatmo_thermostat.py::test_HomeData_setroomThermpoint[91763b24c43d3e344f424e8b-2746182631-home-None-status_ok.json-ok] tests/test_pyatmo_thermostat.py::test_HomeData_setroomThermpoint[91763b24c43d3e344f424e8b-2746182631-home-14-status_ok.json-ok] tests/test_pyatmo_thermostat.py::test_HomeStatus_error_and_data tests/test_pyatmo_thermostat.py::test_HomeData_setroomThermpoint_error[None-None-home-None-home_status_error_missing_home_id.json-Missing