mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Maciej Bieniek](/assets/img/avatar_default.png)
* Strict typing * Variables typing * Suggested change * Fix pylint * Use suppress instead of try..except * Remove unused variables * Suggested change * Fix pylint * Fix typing for unique_id
18 lines
469 B
Python
18 lines
469 B
Python
"""Constants for Bravia TV integration."""
|
|
from __future__ import annotations
|
|
|
|
from typing import Final
|
|
|
|
ATTR_CID: Final = "cid"
|
|
ATTR_MAC: Final = "macAddr"
|
|
ATTR_MANUFACTURER: Final = "Sony"
|
|
ATTR_MODEL: Final = "model"
|
|
|
|
CONF_IGNORED_SOURCES: Final = "ignored_sources"
|
|
|
|
BRAVIA_CONFIG_FILE: Final = "bravia.conf"
|
|
CLIENTID_PREFIX: Final = "HomeAssistant"
|
|
DEFAULT_NAME: Final = f"{ATTR_MANUFACTURER} Bravia TV"
|
|
DOMAIN: Final = "braviatv"
|
|
NICKNAME: Final = "Home Assistant"
|