From df34526ca96e68ee9d078217bc26bdeb22c247f1 Mon Sep 17 00:00:00 2001 From: HWT Date: Mon, 10 Jun 2024 23:02:05 +0800 Subject: [PATCH] Minor correction on media_player.py --- custom_components/smartir/media_player.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/smartir/media_player.py b/custom_components/smartir/media_player.py index 6342ff5d..697650dc 100644 --- a/custom_components/smartir/media_player.py +++ b/custom_components/smartir/media_player.py @@ -56,7 +56,7 @@ async def async_setup_platform( hass: HomeAssistant, config: ConfigType, async_add_entities, discovery_info=None ): """Set up the IR Media Player platform.""" - _LOGGER.debug("Setting up the smartir media player platform") + _LOGGER.debug("Setting up the SmartIR media player platform") if not ( device_data := await DeviceData.load_file( config.get(CONF_DEVICE_CODE), @@ -70,7 +70,7 @@ async def async_setup_platform( hass, ) ): - _LOGGER.error("Smartir media player device data init failed!") + _LOGGER.error("SmartIR media player device data init failed!") return async_add_entities([SmartIRMediaPlayer(hass, config, device_data)]) @@ -412,4 +412,4 @@ def _async_power_sensor_check(*_): self._power_sensor_check_cancel = async_call_later( self.hass, self._power_sensor_delay, _async_power_sensor_check ) - _LOGGER.debug("Schedulled power sensor check for '%s' state", state) + _LOGGER.debug("Scheduled power sensor check for '%s' state", state)