Remove service helper (4) (#16892)
* Update media_player * Update lock * Update notify * Update remote * Update scene * Update vacuum * Remove timer helpers * Removed unused legacy helpers
This commit is contained in:
1 parent
d0ddc28f96
commit
dd45e99302
23 files changed
+499
-520
No files matched your search
@@ -5,8 +5,9 @@ from unittest import mock
|
||||
|
||||
from homeassistant import setup
|
||||
from homeassistant.components import litejet
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
import homeassistant.components.scene as scene
|
||||
from tests.components.scene import common
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@@ -59,7 +60,7 @@ class TestLiteJetScene(unittest.TestCase):
|
||||
|
||||
def test_activate(self):
|
||||
"""Test activating the scene."""
|
||||
scene.activate(self.hass, ENTITY_SCENE)
|
||||
common.activate(self.hass, ENTITY_SCENE)
|
||||
self.hass.block_till_done()
|
||||
self.mock_lj.activate_scene.assert_called_once_with(
|
||||
ENTITY_SCENE_NUMBER)
|
||||
Reference in new issue
Block a user