Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Twente Milieu integration."""
2 
3 from datetime import timedelta
4 import logging
5 from typing import Final
6 
7 from twentemilieu import WasteType
8 
9 DOMAIN: Final = "twentemilieu"
10 
11 LOGGER = logging.getLogger(__package__)
12 SCAN_INTERVAL = timedelta(hours=1)
13 
14 CONF_POST_CODE = "post_code"
15 CONF_HOUSE_NUMBER = "house_number"
16 CONF_HOUSE_LETTER = "house_letter"
17 
18 WASTE_TYPE_TO_DESCRIPTION = {
19  WasteType.NON_RECYCLABLE: "Non-recyclable waste pickup",
20  WasteType.ORGANIC: "Organic waste pickup",
21  WasteType.PACKAGES: "Packages waste pickup",
22  WasteType.PAPER: "Paper waste pickup",
23  WasteType.TREE: "Christmas tree pickup",
24 }