Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions homeassistant/components/media_player/xiaomi_tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
SUPPORT_TURN_ON, SUPPORT_TURN_OFF, MediaPlayerDevice, PLATFORM_SCHEMA,
SUPPORT_VOLUME_STEP)

REQUIREMENTS = ['pymitv==1.0.0']
REQUIREMENTS = ['pymitv==1.4.0']

DEFAULT_NAME = "Xiaomi TV"

Expand All @@ -39,7 +39,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):

if host is not None:
# Check if there's a valid TV at the IP address.
if not Discover().checkIp(host):
if not Discover().check_ip(host):
_LOGGER.error(
"Could not find Xiaomi TV with specified IP: %s", host
)
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ pymailgunner==1.4
pymediaroom==0.5

# homeassistant.components.media_player.xiaomi_tv
pymitv==1.0.0
pymitv==1.4.0

# homeassistant.components.mochad
pymochad==0.2.0
Expand Down