mirror of
https://github.com/home-assistant/core.git
synced 2025-06-21 05:27:06 +00:00
Bump aioslimproto to 2.0.0 (#71265)
This commit is contained in:
parent
c9d49ac9e4
commit
5934167e15
@ -4,7 +4,7 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/slimproto",
|
"documentation": "https://www.home-assistant.io/integrations/slimproto",
|
||||||
"requirements": ["aioslimproto==1.0.2"],
|
"requirements": ["aioslimproto==2.0.0"],
|
||||||
"codeowners": ["@marcelveldt"],
|
"codeowners": ["@marcelveldt"],
|
||||||
"after_dependencies": ["media_source"]
|
"after_dependencies": ["media_source"]
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@ class SlimProtoPlayer(MediaPlayerEntity):
|
|||||||
EventType.PLAYER_CONNECTED,
|
EventType.PLAYER_CONNECTED,
|
||||||
EventType.PLAYER_DISCONNECTED,
|
EventType.PLAYER_DISCONNECTED,
|
||||||
EventType.PLAYER_NAME_RECEIVED,
|
EventType.PLAYER_NAME_RECEIVED,
|
||||||
EventType.PLAYER_RPC_EVENT,
|
EventType.PLAYER_CLI_EVENT,
|
||||||
),
|
),
|
||||||
player_filter=self.player.player_id,
|
player_filter=self.player.player_id,
|
||||||
)
|
)
|
||||||
@ -205,7 +205,7 @@ class SlimProtoPlayer(MediaPlayerEntity):
|
|||||||
if event.type == EventType.PLAYER_CONNECTED:
|
if event.type == EventType.PLAYER_CONNECTED:
|
||||||
# player reconnected, update our player object
|
# player reconnected, update our player object
|
||||||
self.player = self.slimserver.get_player(event.player_id)
|
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,
|
# rpc event from player such as a button press,
|
||||||
# forward on the eventbus for others to handle
|
# forward on the eventbus for others to handle
|
||||||
dev_id = self.registry_entry.device_id if self.registry_entry else None
|
dev_id = self.registry_entry.device_id if self.registry_entry else None
|
||||||
|
@ -244,7 +244,7 @@ aiosenz==1.0.0
|
|||||||
aioshelly==2.0.0
|
aioshelly==2.0.0
|
||||||
|
|
||||||
# homeassistant.components.slimproto
|
# homeassistant.components.slimproto
|
||||||
aioslimproto==1.0.2
|
aioslimproto==2.0.0
|
||||||
|
|
||||||
# homeassistant.components.steamist
|
# homeassistant.components.steamist
|
||||||
aiosteamist==0.3.1
|
aiosteamist==0.3.1
|
||||||
|
@ -210,7 +210,7 @@ aiosenz==1.0.0
|
|||||||
aioshelly==2.0.0
|
aioshelly==2.0.0
|
||||||
|
|
||||||
# homeassistant.components.slimproto
|
# homeassistant.components.slimproto
|
||||||
aioslimproto==1.0.2
|
aioslimproto==2.0.0
|
||||||
|
|
||||||
# homeassistant.components.steamist
|
# homeassistant.components.steamist
|
||||||
aiosteamist==0.3.1
|
aiosteamist==0.3.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user