Fix compilation warnings

This commit is contained in:
Jean-Marc Collin
2023-04-22 11:05:38 +02:00
parent 4dd7c62a42
commit e35ba57bd7
4 changed files with 5 additions and 4 deletions

View File

@@ -1578,7 +1578,7 @@ class VersatileThermostat(ClimateEntity, RestoreEntity):
)
_LOGGER.info(
"%s - Underlying climate changed. Event.new_state is %s, hvac_mode=%s, hvac_action=%s, old_hvac_action=%s",
"%s - Underlying climate changed. Event.new_state is %s, current_hvac_mode=%s, new_hvac_action=%s, old_hvac_action=%s",
self,
new_state,
self._hvac_mode,

View File

@@ -1 +1,2 @@
homeassistant
homeassistant
ffmpeg

View File

@@ -2,7 +2,7 @@
import asyncio
import logging
from unittest.mock import patch, MagicMock
import pytest
import pytest # pylint: disable=unused-import
from homeassistant.core import HomeAssistant, Event, EVENT_STATE_CHANGED, State
from homeassistant.const import UnitOfTemperature, STATE_ON, STATE_OFF

View File

@@ -9,7 +9,7 @@ from homeassistant.components.binary_sensor import BinarySensorDeviceClass
from pytest_homeassistant_custom_component.common import MockConfigEntry
from .commons import *
from .commons import * # pylint: disable=wildcard-import, unused-wildcard-import
from ..climate import VersatileThermostat
from ..binary_sensor import (
SecurityBinarySensor,