-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get the integration to work #28
Comments
Hi @phillcoxon - without logs is very hard to know specially without being able to reproduce the issue. However, throwing a couple of ideas: --
default_config:
sensor:
- platform: oura
name: sleep_quality
access_token: **TOKEN**
scan_interval: 7200
sensors:
sleep:
name: oura_sleep_metrics
max_backfill: 0
monitored_dates:
- 0d_ago
- 1d_ago
- 7d_ago
sleep_periods:
name: oura_sleep_periods
max_backfill: 0
monitored_dates:
- 0d_ago
- 1d_ago
- 7d_ago
sleep_score:
name: oura_sleep_score
max_backfill: 0
monitored_dates:
- 0d_ago
- 1d_ago
- 7d_ago
activity: {}
heart_rate: {}
readiness: {}
workouts: {} Can you kindly confirm that this is not the issue?
logger:
default: info
logs:
homeassistant.custom_components.oura: debug
custom_components.oura: debug |
And there it is! Thank you! I did wonder if it would be something really simple that I was missing - I didn't have the As a new person to Home Assistant this wasn't obvious. I had wondered if something was supposed to be in front but none of the config examples in this GitHub repo or the HA community thread included it. I had tried using Can I suggest the documentation be updated to include Thank you so much for your help. |
With regard to question 2: I used |
Thank you @phillcoxon - glad to know this solved your issue. I have improved the documentation as per your suggestion. I hope it's clearer now :) |
Hi there.
I've spent many hours trying to get this integration to work without success. I'm fully out of ideas as to what is going wrong and would be extremely grateful for any feedback and suggestions.
I have cloned the repo and copied the files in
custom_component/oura/
folder into thecustom_component/oura/
folder in Home Assistant.I have tried many different variations of the config without success. The current version:
I've tried turning on Logger but nothing shows up in the logs. The only reference to
Oura
in theHome Assistant Core
logs is:2023-01-15 22:20:29.143 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration oura which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
. There is no other reference to Oura or sleep sensors etc.I've confirmed the access token is working just fine with
curl
:Here's the list of files in
config/custom_components/oura
:Any suggestions on what I'm doing wrong here?
Thanks in advance!
The text was updated successfully, but these errors were encountered: