✅ Add switch tests #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test/switch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
tests/test_switch.pywith 5 cases:POWER_SWITCHcapacity → one switch entity whose initialis_onreflectscapacity.enable.switch.turn_onservice call →client.switch_capacity(capacity_id, True).switch.turn_offservice call →client.switch_capacity(capacity_id, False).Depends on
Test plan
pytest tests/test_switch.py— 5 passed locally.Notes
switch.relay_switch, so naming-related changes (e.g. finding H3) don't spuriously break these tests.2857e1706520e72d27f7✅ (AI) Add switch teststo ✅ Add switch tests20e72d27f7845cddd42e