diff --git a/homeassistant/components/slimproto/manifest.json b/homeassistant/components/slimproto/manifest.json index 557428919a47..eb4ab00f18da 100644 --- a/homeassistant/components/slimproto/manifest.json +++ b/homeassistant/components/slimproto/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "iot_class": "local_push", "documentation": "https://www.home-assistant.io/integrations/slimproto", - "requirements": ["aioslimproto==1.0.2"], + "requirements": ["aioslimproto==2.0.0"], "codeowners": ["@marcelveldt"], "after_dependencies": ["media_source"] } diff --git a/homeassistant/components/slimproto/media_player.py b/homeassistant/components/slimproto/media_player.py index d41d10432dbf..6b1989830e2d 100644 --- a/homeassistant/components/slimproto/media_player.py +++ b/homeassistant/components/slimproto/media_player.py @@ -118,7 +118,7 @@ class SlimProtoPlayer(MediaPlayerEntity): EventType.PLAYER_CONNECTED, EventType.PLAYER_DISCONNECTED, EventType.PLAYER_NAME_RECEIVED, - EventType.PLAYER_RPC_EVENT, + EventType.PLAYER_CLI_EVENT, ), player_filter=self.player.player_id, ) @@ -205,7 +205,7 @@ class SlimProtoPlayer(MediaPlayerEntity): if event.type == EventType.PLAYER_CONNECTED: # player reconnected, update our player object self.player = self.slimserver.get_player(event.player_id) - if event.type == EventType.PLAYER_RPC_EVENT: + if event.type == EventType.PLAYER_CLI_EVENT: # rpc event from player such as a button press, # forward on the eventbus for others to handle dev_id = self.registry_entry.device_id if self.registry_entry else None diff --git a/requirements_all.txt b/requirements_all.txt index e212a63b5592..438c951d2149 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -244,7 +244,7 @@ aiosenz==1.0.0 aioshelly==2.0.0 # homeassistant.components.slimproto -aioslimproto==1.0.2 +aioslimproto==2.0.0 # homeassistant.components.steamist aiosteamist==0.3.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index c6e1065a52af..b012f795c9e0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -210,7 +210,7 @@ aiosenz==1.0.0 aioshelly==2.0.0 # homeassistant.components.slimproto -aioslimproto==1.0.2 +aioslimproto==2.0.0 # homeassistant.components.steamist aiosteamist==0.3.1