Compare commits

...

19 Commits
0.1.1 ... 0.1.6

Author SHA1 Message Date
Ron Klinkien
dd7cfc021f Update manifest.json 2021-12-29 13:09:07 +01:00
Ron Klinkien
154190f9e9 Update hacs.json 2021-12-24 16:41:58 +01:00
Ron Klinkien
e2d3a61c0e Merge pull request #22 from obbers/main
Remvove country from hacs.json
2021-12-24 16:41:21 +01:00
Ron Klinkien
47717f019c Bumped garminconnect-ha 2021-12-24 13:38:00 +01:00
Ron Klinkien
03f576207f Bumped garminconnect-ha to 0.1.16
Renamed bodyMass to boneMass
2021-12-24 12:37:16 +01:00
Gary Sinclair
db334c0761 Merge branch 'cyberjunky:main' into main 2021-12-23 14:35:08 -06:00
Ron Klinkien
78f5266a5f Bumped garminconnect-ha to 1.0.15 2021-12-23 20:55:53 +01:00
Gary Sinclair
7ce7bd2277 Remove Country from hacs.json 2021-12-08 08:40:03 -06:00
Ron Klinkien
0e3838df3d Return correct value when no alarm is set 2021-09-16 17:19:12 +02:00
Ron Klinkien
39fccd6630 Merge pull request #5 from Elgatross/patch-1
Update Readme
2021-08-19 20:00:12 +02:00
Elgatross
e97b40e3dd Update README.md 2021-08-12 18:02:22 +02:00
Elgatross
2cf26ada3c Update README.md
hint to add as custom repository, since you won't find it in the default one.
2021-08-12 04:47:28 +02:00
Ron Klinkien
ace2c3f7de Merge branch 'main' of https://github.com/cyberjunky/home-assistant-garmin_connect 2021-07-09 20:54:18 +02:00
Ron Klinkien
6c6a9dffd7 retrigger checks 2021-07-09 20:54:12 +02:00
Ron Klinkien
c740f36330 Update hassfest.yml 2021-07-09 20:54:02 +02:00
Ron Klinkien
c587d52e77 Merge branch 'main' of https://github.com/cyberjunky/home-assistant-garmin_connect 2021-07-09 20:47:55 +02:00
Ron Klinkien
1b4418b652 retrigger checks 2021-07-09 20:46:49 +02:00
Ron Klinkien
933d4a19bd Update hassfest.yml 2021-07-09 20:42:37 +02:00
Ron Klinkien
1560895361 Create hassfest.yml 2021-07-09 20:40:16 +02:00
6 changed files with 22 additions and 6 deletions

15
.github/workflows/hassfest.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Validate with hassfest
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: home-assistant/actions/hassfest@master

View File

@@ -8,6 +8,7 @@ The Garmin Connect integration allows you to expose data from Garmin Connect to
### HACS - Recommended
- Have [HACS](https://hacs.xyz) installed, this will allow you to easily manage and track updates.
- Add https://github.com/cyberjunky/home-assistant-garmin_connect to custom repositories in HACS
- Search for 'Garmin Connect'.
- Click Install below the found integration.
- Restart Home-Assistant.

View File

@@ -348,7 +348,7 @@ GARMIN_ENTITY_LIST = {
"bmi": ["BMI", "bmi", "mdi:food", None, False],
"bodyFat": ["Body Fat", PERCENTAGE, "mdi:food", None, False],
"bodyWater": ["Body Water", PERCENTAGE, "mdi:water-percent", None, False],
"bodyMass": ["Body Mass", MASS_KILOGRAMS, "mdi:food", None, False],
"boneMass": ["Bone Mass", MASS_KILOGRAMS, "mdi:bone", None, False],
"muscleMass": ["Muscle Mass", MASS_KILOGRAMS, "mdi:dumbbell", None, False],
"physiqueRating": ["Physique Rating", None, "mdi:numeric", None, False],
"visceralFat": ["Visceral Fat", PERCENTAGE, "mdi:food", None, False],

View File

@@ -3,9 +3,9 @@
"name": "Garmin Connect",
"documentation": "https://github.com/cyberjunky/home-assistant-garmin_connect",
"issue_tracker": "https://github.com/cyberjunky/home-assistant-garmin_connect/issues",
"requirements": ["garminconnect_ha==0.1.13"],
"requirements": ["garminconnect==0.1.24"],
"codeowners": ["@cyberjunky"],
"config_flow": true,
"iot_class": "cloud_polling",
"version": "0.1.1"
"version": "0.1.6"
}

View File

@@ -116,6 +116,8 @@ class GarminConnectSensor(CoordinatorEntity, SensorEntity):
)
if active_alarms:
value = active_alarms[0]
else:
value = None
if self._device_class == DEVICE_CLASS_TIMESTAMP:
return value

View File

@@ -1,7 +1,5 @@
{
"name": "Garmin Connect",
"country": "NL",
"render_readme": true,
"domains": ["sensor"]
}
}