Bump aioslimproto to 2.0.0 (#71265)

This commit is contained in:
Paulus Schoutsen 2022-05-03 12:16:57 -07:00 committed by GitHub
parent c9d49ac9e4
commit 5934167e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -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"]
}

View File

@ -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

View File

@ -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

View File

@ -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