- Copy
sensor/questrade.py
to/config/custom_components/sensor/questrade.py
. - Create an personal application on Questrade.
- Fill the following configuration:
sensor:
- platform: questrade
client_id: <consumer key>
refresh_token: <token>
currency: CAD
scan_interval: 900
Configuration variables:
- client_id (Required): The API consumer key. This is not used at this time but could be once this component uses a proper authorization flow.
- refresh_token (Required): The initial OAuth refresh token.
- currency (Optional): For combined balances, the currency to use for the
account attributes. Defaults to
CAD
. - scan_interval (Optional): The number of seconds between updates. Defaults to 60.
- Copy
custom_ui/state-card-custom-questrade.html
to/config/www/custom_ui/state-card-custom-questrade.html
. - In the
frontend:
section of theconfiguration.yaml
file, useextra_html_url
to specify the URL to load. - In the
customize:
section addcustom_ui_state_card: state-card-custom-questrade
for each account entity.
Example:
homeassistant:
frontend:
extra_html_url:
- /local/custom_ui/state-card-custom-questrade.html
customize:
sensor.questrade_12345678:
custom_ui_state_card: state-card-custom-questrade
- Copy
sensor/nokia_health.py
to/config/custom_components/sensor/nokia_health.py
. - Copy the content of the
www
directory to/config/www/
- Go to https://developer.health.nokia.com/partner/add to register a developer account and create a new app.
- Fill the following configuration:
sensor:
- platform: nokia_health
consumer_key: <Key ID>
consumer_secret: <Key Secret>
Configuration variables:
- consumer_key (Required): The Nokia Health API key.
- consumer_secret (Required): The Nokia Health API key secret.
- Copy
sensor/strava.py
to/config/custom_components/sensor/strava.py
. - Copy the content of the
www
directory to/config/www/
- Go to https://www.strava.com/settings/api and create a new App. Make sure the Authorization Callback Domain matches the host name used by Home Assistant.
- Fill the following configuration:
sensor:
- platform: strava
client_id: <App Client ID>
client_secret: <App Client Secret>
Configuration variables:
- client_id (Required): The Strava app client ID.
- client_secret (Required): The Strava app client secret.