basilfx / homeassistant-biketrax

Custom component for the PowUnity BikeTrax integration for Home Assistant.
MIT License
5 stars 2 forks source link

Use async_write_ha_state to update switch state #103

Closed basilfx closed 1 year ago

basilfx commented 1 year ago

This solves a warning in the logging, and a potential issue with missing events in automations.

See https://github.com/home-assistant/core/pull/21590 for more information.