1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
ha-core/homeassistant/components/roon/const.py
Greg Dowling 6a7e87f1c3
Add Roon volume hooks (#102470)
* Add ability for roon to call HA for volume changes.

* Fix merge errors.

* Fix mypy errors.

* Remove config option for hooks.

* WIP split entities.

* Tidy, fix test.

* Tidy after review.

* Remove event tests for now.

* Recview comments.

* remove trace.

* Bump pyroon to 0.1.5, deregister volume hooks.

* Remove type annotations.

* Add new file .coveragerc.

* Remove ghost constants.

* Review changes.

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-12 11:58:15 +01:00

22 lines
488 B
Python

"""Constants for Roon Component."""
AUTHENTICATE_TIMEOUT = 5
DOMAIN = "roon"
CONF_ROON_ID = "roon_server_id"
CONF_ROON_NAME = "roon_server_name"
DATA_CONFIGS = "roon_configs"
DEFAULT_NAME = "Roon Labs Music Player"
ROON_APPINFO = {
"extension_id": "home_assistant",
"display_name": "Home Assistant",
"display_version": "1.0.1",
"publisher": "home_assistant",
"email": "home_assistant@users.noreply.github.com",
"website": "https://www.home-assistant.io/",
}