mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00

* add button platform to microBees * use list comprehension for async_add_entities * add a transaltion_key and fix list comprehension * add panic button * remove BUTTON_PRODUCT_IDS
13 lines
327 B
Python
13 lines
327 B
Python
"""Constants for the microBees integration."""
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "microbees"
|
|
OAUTH2_AUTHORIZE = "https://dev.microbees.com/oauth/authorize"
|
|
OAUTH2_TOKEN = "https://dev.microbees.com/oauth/token"
|
|
PLATFORMS = [
|
|
Platform.BUTTON,
|
|
Platform.LIGHT,
|
|
Platform.SENSOR,
|
|
Platform.SWITCH,
|
|
]
|