* Add unit tests for SNMP Switches (integer only)
* Add unit test for SNMP switches (integer unknown)
* log a warning when SNMP response is not a recognised payload
* Use a single configuration for all test_integer_switch tests
* Tweak unknown SNMP response warning
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* import STATE_ consts
* rename tests/components/snmp/test_integer_switch.py to test_switch.py
* check that a warning is logged if the SNMP response payload is unknown
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>