diff --git a/custom_components/versatile_thermostat/climate.py b/custom_components/versatile_thermostat/climate.py index 764ddf1..699f14c 100644 --- a/custom_components/versatile_thermostat/climate.py +++ b/custom_components/versatile_thermostat/climate.py @@ -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, diff --git a/custom_components/versatile_thermostat/requirements_dev.txt b/custom_components/versatile_thermostat/requirements_dev.txt index 67296d7..3c057e4 100644 --- a/custom_components/versatile_thermostat/requirements_dev.txt +++ b/custom_components/versatile_thermostat/requirements_dev.txt @@ -1 +1,2 @@ -homeassistant \ No newline at end of file +homeassistant +ffmpeg \ No newline at end of file diff --git a/custom_components/versatile_thermostat/tests/commons.py b/custom_components/versatile_thermostat/tests/commons.py index 80046ad..6158f84 100644 --- a/custom_components/versatile_thermostat/tests/commons.py +++ b/custom_components/versatile_thermostat/tests/commons.py @@ -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 diff --git a/custom_components/versatile_thermostat/tests/test_binary_sensors.py b/custom_components/versatile_thermostat/tests/test_binary_sensors.py index e1ad6c6..70e5970 100644 --- a/custom_components/versatile_thermostat/tests/test_binary_sensors.py +++ b/custom_components/versatile_thermostat/tests/test_binary_sensors.py @@ -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,