* add button platform to roborock * Update tests/components/roborock/test_button.py Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com> * Remove device class * improve tests * sort platforms --------- Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
18 lines
363 B
Python
18 lines
363 B
Python
"""Constants for Roborock."""
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "roborock"
|
|
CONF_ENTRY_CODE = "code"
|
|
CONF_BASE_URL = "base_url"
|
|
CONF_USER_DATA = "user_data"
|
|
|
|
PLATFORMS = [
|
|
Platform.BUTTON,
|
|
Platform.BINARY_SENSOR,
|
|
Platform.NUMBER,
|
|
Platform.SELECT,
|
|
Platform.SENSOR,
|
|
Platform.SWITCH,
|
|
Platform.TIME,
|
|
Platform.VACUUM,
|
|
]
|