Skip to content

Commit

Permalink
Merge pull request #31 from gurglingtonic/patch-4
Browse files Browse the repository at this point in the history
Minor typos correction on media_player.py
  • Loading branch information
litinoveweedle authored Jun 10, 2024
2 parents b509d24 + df34526 commit d30562f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/smartir/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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)])
Expand Down Expand Up @@ -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)

0 comments on commit d30562f

Please sign in to comment.