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

Minor correction on media_player.py #31

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading