Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Obihai integration."""
2 
3 import logging
4 from typing import Final
5 
6 from homeassistant.const import Platform
7 
8 DOMAIN: Final = "obihai"
9 DEFAULT_USERNAME = "admin"
10 DEFAULT_PASSWORD = "admin"
11 OBIHAI = "Obihai"
12 
13 LOGGER = logging.getLogger(__package__)
14 
15 PLATFORMS: Final = [Platform.BUTTON, Platform.SENSOR]