Skip to content

Commit 57b6824

Browse files
authored
Change loglevel of mydevolo (#209)
* Change loglevel of mydevolo * Update changelog
1 parent 0df23f0 commit 57b6824

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

devolo_home_control_api/mydevolo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def maintenance(self) -> bool:
141141
state = self._call(f"{self.url}/v1/hc/maintenance")["state"]
142142
if state == "on":
143143
return False
144-
self._logger.warning("devolo Home Control is in maintenance mode.")
144+
self._logger.debug("devolo Home Control is in maintenance mode.")
145145
return True
146146

147147
@lru_cache(maxsize=1) # noqa: B019
@@ -162,7 +162,7 @@ def _call(self, url: str) -> dict[str, Any]:
162162
raise WrongUrlError(url)
163163
if responds.status_code == HTTPStatus.SERVICE_UNAVAILABLE:
164164
# mydevolo sends a 503, if the gateway is offline
165-
self._logger.warning("The requested gateway seems to be offline.")
165+
self._logger.debug("The requested gateway seems to be offline.")
166166
raise GatewayOfflineError
167167

168168
return responds.json()

docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v0.19.1] - 2025/11/06
8+
9+
### Changed
10+
11+
- Because of the Home Control server shutdown, warnings about Home Control being in maintenance mode are now only debug messages
12+
- Because of the Home Control server shutdown, warnings about about offline central units are now only debug messages
13+
714
## [v0.19.0] - 2025/04/28
815

916
### Added

0 commit comments

Comments
 (0)