Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct 2024.5 warning and error #26

Merged
merged 2 commits into from
May 23, 2024
Merged

Correct 2024.5 warning and error #26

merged 2 commits into from
May 23, 2024

Conversation

ADHDSquir
Copy link
Contributor

As of HA 2024.5, the following two issues appear in the Home Assistant log:

WARNING (ImportExecutor_0) [homeassistant.helpers.typing] ServiceCallType was used from stream_assist, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the 'stream_assist' custom integration

RuntimeError: Detected that custom integration 'stream_assist' calls async_write_ha_state from a thread at custom_components/stream_assist/sensor.py, line 47: self.async_write_ha_state(). Please report it to the author of the 'stream_assist' custom integration.

This PR updates these two items to the latest standard.

@dinki
Copy link

dinki commented May 22, 2024

Confirmed working for me. Thanks!

@AlexxIT AlexxIT merged commit 0fc5e66 into AlexxIT:main May 23, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 23, 2024

Thanks!

@AlexxIT
Copy link
Owner

AlexxIT commented Jun 12, 2024

https://github.com/AlexxIT/StreamAssist/releases/tag/v2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants