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
|
@ -139,13 +139,3 @@ async def test_delete_command(hass):
|
|||
assert call.domain == remote.DOMAIN
|
||||
assert call.service == SERVICE_DELETE_COMMAND
|
||||
assert call.data[ATTR_ENTITY_ID] == ENTITY_ID
|
||||
|
||||
|
||||
async def test_deprecated_base_class(caplog):
|
||||
"""Test deprecated base class."""
|
||||
|
||||
class CustomRemote(remote.RemoteDevice):
|
||||
pass
|
||||
|
||||
CustomRemote()
|
||||
assert "RemoteDevice is deprecated, modify CustomRemote" in caplog.text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue