Federico D'Amico 1109aba211
Add button platform to microBees (#111141)
* 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
2024-02-27 19:41:42 +01:00

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,
]