StreamAssist icon indicating copy to clipboard operation
StreamAssist copied to clipboard

Correct 2024.5 warning and error

Open ADHDSquir opened this issue 9 months ago • 0 comments

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.

ADHDSquir avatar May 20 '24 13:05 ADHDSquir