move service constants to const.py, move custom services to monoprice domain (#29099)
This commit is contained in:
1 parent
c1163283ff
commit
499838d5a7
5 files changed
+24
-21
No files matched your search
@@ -5,7 +5,6 @@ import voluptuous as vol
|
||||
|
||||
from collections import defaultdict
|
||||
from homeassistant.components.media_player.const import (
|
||||
DOMAIN,
|
||||
SUPPORT_TURN_ON,
|
||||
SUPPORT_TURN_OFF,
|
||||
SUPPORT_VOLUME_MUTE,
|
||||
@@ -19,10 +18,13 @@ import tests.common
|
||||
from homeassistant.components.monoprice.media_player import (
|
||||
DATA_MONOPRICE,
|
||||
PLATFORM_SCHEMA,
|
||||
SERVICE_SNAPSHOT,
|
||||
SERVICE_RESTORE,
|
||||
setup_platform,
|
||||
)
|
||||
from homeassistant.components.monoprice.const import (
|
||||
DOMAIN,
|
||||
SERVICE_RESTORE,
|
||||
SERVICE_SNAPSHOT,
|
||||
)
|
||||
import pytest
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user