-
- Downloads
Add server side events to Smlight integration (#125553)
* Register SSE client * Add switch events for settings changes * Mock sse settings events * Apply suggestions from code review Co-authored-by:Paarth Shah <mail@shahpaarth.com> * access callbacks from mock call_args --------- Co-authored-by:
Paarth Shah <mail@shahpaarth.com>
Showing
- homeassistant/components/smlight/coordinator.py 12 additions, 0 deletionshomeassistant/components/smlight/coordinator.py
- homeassistant/components/smlight/switch.py 19 additions, 8 deletionshomeassistant/components/smlight/switch.py
- tests/components/smlight/conftest.py 2 additions, 0 deletionstests/components/smlight/conftest.py
- tests/components/smlight/test_switch.py 22 additions, 18 deletionstests/components/smlight/test_switch.py
Please register or sign in to comment