Cleanup - move Shelly logger to const (#68046)
This commit is contained in:
parent
1a79118600
commit
083d51a727
8 changed files with 74 additions and 84 deletions
|
@ -1,13 +1,17 @@
|
|||
"""Constants for the Shelly integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
from logging import Logger, getLogger
|
||||
import re
|
||||
from typing import Final
|
||||
|
||||
DOMAIN: Final = "shelly"
|
||||
|
||||
LOGGER: Logger = getLogger(__package__)
|
||||
|
||||
BLOCK: Final = "block"
|
||||
DATA_CONFIG_ENTRY: Final = "config_entry"
|
||||
DEVICE: Final = "device"
|
||||
DOMAIN: Final = "shelly"
|
||||
REST: Final = "rest"
|
||||
RPC: Final = "rpc"
|
||||
RPC_POLL: Final = "rpc_poll"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue