diff --git a/homeassistant/components/sensor/lastfm.py b/homeassistant/components/sensor/lastfm.py
index 6ee3f7d16d0835013aa69b7e197d37764066a010..45eddee9f7e174d07186182bb02c8f8ebadb0bf0 100644
--- a/homeassistant/components/sensor/lastfm.py
+++ b/homeassistant/components/sensor/lastfm.py
@@ -13,7 +13,7 @@ from homeassistant.const import CONF_API_KEY
 import homeassistant.helpers.config_validation as cv
 from homeassistant.helpers.entity import Entity
 
-REQUIREMENTS = ['pylast==2.3.0']
+REQUIREMENTS = ['pylast==2.4.0']
 
 ATTR_LAST_PLAYED = 'last_played'
 ATTR_PLAY_COUNT = 'play_count'
diff --git a/requirements_all.txt b/requirements_all.txt
index 250f0bc11471815662251284306b04ca3748aee3..23f90b19010e83090921960a13c8447518bdffd8 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -904,7 +904,7 @@ pykwb==0.0.8
 pylacrosse==0.3.1
 
 # homeassistant.components.sensor.lastfm
-pylast==2.3.0
+pylast==2.4.0
 
 # homeassistant.components.media_player.lg_netcast
 pylgnetcast-homeassistant==0.2.0.dev0