Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log level to debug in Netatmo #103365

Merged
merged 1 commit into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/netatmo/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@
@callback
def _create_entity(netatmo_device: NetatmoRoom) -> None:
if not netatmo_device.room.climate_type:
msg = f"No climate type found for this room: {netatmo_device.room.name}"
_LOGGER.info(msg)
_LOGGER.debug(msg)
return

Check warning on line 124 in homeassistant/components/netatmo/climate.py

View check run for this annotation

Codecov / codecov/patch

homeassistant/components/netatmo/climate.py#L122-L124

Added lines #L122 - L124 were not covered by tests
entity = NetatmoThermostat(netatmo_device)
async_add_entities([entity])

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/netatmo/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@
@callback
def _create_room_sensor_entity(netatmo_device: NetatmoRoom) -> None:
if not netatmo_device.room.climate_type:
msg = f"No climate type found for this room: {netatmo_device.room.name}"
_LOGGER.info(msg)
_LOGGER.debug(msg)
return

Check warning on line 328 in homeassistant/components/netatmo/sensor.py

View check run for this annotation

Codecov / codecov/patch

homeassistant/components/netatmo/sensor.py#L326-L328

Added lines #L326 - L328 were not covered by tests
async_add_entities(
NetatmoRoomSensor(netatmo_device, description)
for description in SENSOR_TYPES
Expand Down