1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-02 05:07:52 +00:00
Robert Hillis 866518c5a0
Add tests to Lidarr ()
* Add tests to Lidarr

* fix js files

* take out the trash

* fix 3.9

* uno mas

* fix fixture

* ruff

* Update const.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-28 16:49:32 +02:00

27 lines
602 B
Python

"""Constants for Lidarr."""
import logging
from typing import Final
from homeassistant.const import UnitOfInformation
BYTE_SIZES = [
UnitOfInformation.BYTES,
UnitOfInformation.KILOBYTES,
UnitOfInformation.MEGABYTES,
UnitOfInformation.GIGABYTES,
UnitOfInformation.TERABYTES,
UnitOfInformation.PETABYTES,
UnitOfInformation.EXABYTES,
UnitOfInformation.ZETTABYTES,
UnitOfInformation.YOTTABYTES,
]
# Defaults
DEFAULT_NAME = "Lidarr"
DEFAULT_UNIT = UnitOfInformation.GIGABYTES
DEFAULT_MAX_RECORDS = 20
DOMAIN: Final = "lidarr"
LOGGER = logging.getLogger(__package__)