You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sonoff returns capital ON/OFF, while relay returned on/off.
We define relay strings here, so can be changed here to
unify the reponses, no matter which power control method
was used at the time.
The more proper solution would be to implement:
#77
Signed-off-by: Maciej Pijanowski <[email protected]>
Rather than ifs in the rte.py, we could have a single interface for the power supply control, and implement it for each case (sonoff, rte relay).
The text was updated successfully, but these errors were encountered: