mirror of
https://github.com/home-assistant/core.git
synced 2025-05-18 04:49:33 +00:00

* First checkin for myUplink * Refactored coordinator and sensor state classe * Updated .coveragerc * Update test_config_flow * Fix test_config_flow for myuplink * Only set state class for temperature sensor * PR comment updates * Type strong dict * use asyncio.timeouts * PR updates (part 1) * Updated to myuplink 0.0.9 * Add strict typing * Fix typing * Inherit CoordinatorEntity * Clean up coordinator and sensors * Use common base entity * Improve device point sensor * Exclude entity from coverage * Set device point entity name if there's no entity description * Update homeassistant/components/myuplink/sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/myuplink/entity.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/myuplink/entity.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Remvoed firmware + connstate sensors * Always add device point parameter name * Removed MyUplinkDeviceSensor * Removed unused class * key="celsius", --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
9 lines
275 B
Python
9 lines
275 B
Python
"""Constants for the myUplink integration."""
|
|
|
|
DOMAIN = "myuplink"
|
|
|
|
API_ENDPOINT = "https://api.myuplink.com"
|
|
OAUTH2_AUTHORIZE = "https://api.myuplink.com/oauth/authorize"
|
|
OAUTH2_TOKEN = "https://api.myuplink.com/oauth/token"
|
|
OAUTH2_SCOPES = ["READSYSTEM", "offline_access"]
|