Refactor squeezebox (#34731)

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
rajlaudandMartin Hjelmare authored and GitHub committed 2020-04-27 12:15:00 +02:00
1 parent be57d45653
commit 5e249aac5f
5 files changed
+71 -201

No files matched your search

@@ -1,3 +1,10 @@
"""Constants for the Squeezebox component."""
from homeassistant.const import STATE_IDLE, STATE_PAUSED, STATE_PLAYING
DOMAIN = "squeezebox"
SERVICE_CALL_METHOD = "call_method"
SQUEEZEBOX_MODE = {
"pause": STATE_PAUSED,
"play": STATE_PLAYING,
"stop": STATE_IDLE,
}