simo 3.0.4__py3-none-any.whl → 3.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of simo might be problematic. Click here for more details.

@@ -780,11 +780,13 @@ class VoiceAssistantArbitrator:
780
780
  return False
781
781
 
782
782
  def start_window_if_needed(self):
783
- if not self._arb_started:
784
- self._arb_started = True
785
- if self._arb_task and not self._arb_task.done():
786
- self._arb_task.cancel()
787
- self._arb_task = asyncio.create_task(self._decide_after_window())
783
+ # Start a new arbitration window if none is currently running.
784
+ # This allows a fresh window per VA session rather than only once
785
+ # per connection, ensuring the cloud gate can reopen after session end.
786
+ if self._arb_task and not self._arb_task.done():
787
+ return
788
+ self._arb_started = True
789
+ self._arb_task = asyncio.create_task(self._decide_after_window())
788
790
 
789
791
  async def _decide_after_window(self):
790
792
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simo
3
- Version: 3.0.4
3
+ Version: 3.0.5
4
4
  Summary: Smart Home Supremacy
5
5
  Author-email: "Simon V." <simon@simo.io>
6
6
  Project-URL: Homepage, https://simo.io
@@ -10467,7 +10467,7 @@ simo/fleet/socket_consumers.py,sha256=PBDQphnIQFZ5ThBJmRh2Fxf_k0RITmFktQAPFftOjs
10467
10467
  simo/fleet/tasks.py,sha256=OYiyhrASyTgLxifhjW9Cx4IaEK6hd1bEXbPGfjIg-zY,1323
10468
10468
  simo/fleet/utils.py,sha256=Ev6jl2oW6Gl7O3KwPBi1LDU1gvNpARchcRI4LQZlrEo,9564
10469
10469
  simo/fleet/views.py,sha256=3F8im6BsSOaK3KEuBNESE4sDbS_dWHYaOdhTR4cCLjE,5189
10470
- simo/fleet/voice_assistant.py,sha256=pEzSLjaMIubP66ozFXaFMHJCZ-ik0oni70-2ePdg2Eg,40388
10470
+ simo/fleet/voice_assistant.py,sha256=cpDzFeZpPmEvyogqhdfq8zjojCcXbdPtOh_jy1gXV4U,40546
10471
10471
  simo/fleet/__pycache__/__init__.cpython-312.pyc,sha256=WgOt0Rf4Q4Kz0CyQn-BwX6qKyVcylu4UR1R1bqNKmA0,123
10472
10472
  simo/fleet/__pycache__/__init__.cpython-38.pyc,sha256=pIZE7EL6-cuJ3pQtaSwjKLrKLsTYelp1k9sRhXKLh6s,159
10473
10473
  simo/fleet/__pycache__/admin.cpython-312.pyc,sha256=-gV2FumLvfZJXhfeRKNI0FxYoQcIbBp_krQlRoulgQs,9997
@@ -10742,6 +10742,7 @@ simo/mcp_server/server.py,sha256=p6qCKTnplVyl_ulI8Jb022ZpfrJoBaHQ6rlXzgiDMu4,165
10742
10742
  simo/mcp_server/tasks.py,sha256=RvPOoS5BNN1ioEC14N-HsfLfw3fW6dI8dPb6Qs3zdJc,581
10743
10743
  simo/mcp_server/__pycache__/__init__.cpython-312.pyc,sha256=IW6Mh5NQTC_IsT0Q3coCbcRdagPwAqqcTFV9R-MRXvY,170
10744
10744
  simo/mcp_server/__pycache__/admin.cpython-312.pyc,sha256=RirpFDKJ1Pd2TI7aA0PfLznQnxwo74-DMJJYA0khaG4,1188
10745
+ simo/mcp_server/__pycache__/dummy.cpython-312.pyc,sha256=92axcZ51E42m9Dx8Qg3nqNDkDa3qlwoZfqSStIzJTkw,763
10745
10746
  simo/mcp_server/__pycache__/models.cpython-312.pyc,sha256=3iUKXycrdNwmELgD6woUdxxPDulXdaY7TvHdOu11gzM,1752
10746
10747
  simo/mcp_server/migrations/0001_initial.py,sha256=ZhMSYBcm3HiCzbJ8wsl3SOFd-kCCotMIcwSRdOCQIPI,1215
10747
10748
  simo/mcp_server/migrations/0002_alter_instanceaccesstoken_date_expired.py,sha256=BXabSqDZD8Y9Nq1DEnEjIwfF9tBHwLn6mn9kOaJP4d4,425
@@ -11030,9 +11031,9 @@ simo/users/templates/invitations/expired_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCe
11030
11031
  simo/users/templates/invitations/expired_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11031
11032
  simo/users/templates/invitations/taken_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11032
11033
  simo/users/templates/invitations/taken_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11033
- simo-3.0.4.dist-info/licenses/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
11034
- simo-3.0.4.dist-info/METADATA,sha256=97WF3o8HGc6oNgTGXMBr8SYV-6A3eiYNhpBvmbKWmbA,2224
11035
- simo-3.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11036
- simo-3.0.4.dist-info/entry_points.txt,sha256=S9PwnUYmTSW7681GKDCxUbL0leRJIaRk6fDQIKgbZBA,135
11037
- simo-3.0.4.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
11038
- simo-3.0.4.dist-info/RECORD,,
11034
+ simo-3.0.5.dist-info/licenses/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
11035
+ simo-3.0.5.dist-info/METADATA,sha256=9t_mI0DDVS1T9_wexKOfhYcg8O02-AgArAxvrVnseuY,2224
11036
+ simo-3.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11037
+ simo-3.0.5.dist-info/entry_points.txt,sha256=S9PwnUYmTSW7681GKDCxUbL0leRJIaRk6fDQIKgbZBA,135
11038
+ simo-3.0.5.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
11039
+ simo-3.0.5.dist-info/RECORD,,
File without changes