Remove deprecated base entity classes (#61006)
* Remove deprecated base entity classes * Clean up tests
This commit is contained in:
parent
21c09d1a3e
commit
cf371ea8dd
22 changed files with 2 additions and 279 deletions
|
@ -898,16 +898,6 @@ async def test_light_brightness_pct_conversion(hass, enable_custom_integrations)
|
|||
assert data["brightness"] == 255
|
||||
|
||||
|
||||
def test_deprecated_base_class(caplog):
|
||||
"""Test deprecated base class."""
|
||||
|
||||
class CustomLight(light.Light):
|
||||
pass
|
||||
|
||||
CustomLight()
|
||||
assert "Light is deprecated, modify CustomLight" in caplog.text
|
||||
|
||||
|
||||
async def test_profiles(hass):
|
||||
"""Test profiles loading."""
|
||||
profiles = orig_Profiles(hass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue