Add Ondilo ico integration (#44728)
* First implementationof Ondilo component support * Update manifest toadd pypi pkg dependency * Update entities name and corrected refresh issue * Changed percentage unit name * Corrected merge issues * Updated coveragerc * cleaned up code and corrected config flow tests * Code cleanup and added test for exisitng entry * Changes following PR comments: - Inherit CoordinatorEntity instead of Entity - Merged pools blocking calls into one - Renamed devices vars to sensors - Check supported sensor types - Stop relying on array index position for pools - Stop relying on attribute position in dict for sensors * Corrected unit test * Reformat sensor type check
This commit is contained in:
parent
c92353088c
commit
de780c6d35
16 changed files with 514 additions and 0 deletions
8
homeassistant/components/ondilo_ico/const.py
Normal file
8
homeassistant/components/ondilo_ico/const.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
"""Constants for the Ondilo ICO integration."""
|
||||
|
||||
DOMAIN = "ondilo_ico"
|
||||
|
||||
OAUTH2_AUTHORIZE = "https://interop.ondilo.com/oauth2/authorize"
|
||||
OAUTH2_TOKEN = "https://interop.ondilo.com/oauth2/token"
|
||||
OAUTH2_CLIENTID = "customer_api"
|
||||
OAUTH2_CLIENTSECRET = ""
|
Loading…
Add table
Add a link
Reference in a new issue