diff --git a/supervisor/discovery/services/zwave_mqtt.py b/supervisor/discovery/services/ozw.py similarity index 100% rename from supervisor/discovery/services/zwave_mqtt.py rename to supervisor/discovery/services/ozw.py diff --git a/tests/discovery/test_zwave_mqtt.py b/tests/discovery/test_ozw.py similarity index 61% rename from tests/discovery/test_zwave_mqtt.py rename to tests/discovery/test_ozw.py index d5d60cecc..2f27c2637 100644 --- a/tests/discovery/test_zwave_mqtt.py +++ b/tests/discovery/test_ozw.py @@ -10,8 +10,7 @@ def test_good_config(): """Test good zwave mqtt config.""" valid_discovery_config( - "zwave_mqtt", - {"host": "test", "port": 3812, "username": "bla", "password": "test"}, + "ozw", {"host": "test", "port": 3812, "username": "bla", "password": "test"}, ) @@ -19,6 +18,4 @@ def test_bad_config(): """Test good zwave mqtt config.""" with pytest.raises(vol.Invalid): - valid_discovery_config( - "zwave_mqtt", {"host": "test", "username": "bla", "ssl": True} - ) + valid_discovery_config("ozw", {"host": "test", "username": "bla", "ssl": True})