Compare commits

...

23 Commits

Author SHA1 Message Date
691b5c2475 Shipping v1.1.1 2024-11-12 20:13:47 +01:00
eea4e1bb6b update to vesion 1.1.1 2024-11-12 20:11:16 +01:00
43b578cd98 Merge pull request #9 from Sigri44/master
Add manual installation
2024-11-12 20:10:57 +01:00
f7d801e1f4 Update deprecated methods and types 2024-11-12 19:49:30 +01:00
6257b65687 Merge pull request #9 from Sigri44/master
Add manual installation
2023-10-29 13:26:04 +01:00
Sigri
cbf81d7438 Add manual installation 2023-10-25 21:19:05 +02:00
Sigri
33d8942e31 Fix syntax 2023-10-25 20:39:23 +02:00
7d08d8f9a7 Shipping v1.1.0 2023-05-24 13:03:59 +02:00
ad77edd103 Update badge and GeoRidelib version 2023-05-24 12:46:26 +02:00
f30176cb65 Merge pull request #8 from ptimatth/develop
Shipping v1.0.0
2023-03-18 10:58:58 +01:00
e6817e174b Shipping v0.9.1 2022-04-06 17:49:26 +02:00
22047ff6be Shipping v0.9.0 2022-04-06 17:37:16 +02:00
7d809c2105 Shipping v0.8.2 2022-03-03 20:40:02 +01:00
e59c8cb195 Shipping v0.8.1 2021-10-10 13:09:57 +02:00
5af8e7dc5d Shipping v0.8.0, thx to @Inervo 2021-08-30 20:14:56 +02:00
9053f95bc1 Shipping v0.7.2 2021-07-13 20:37:32 +02:00
fc383ff373 Shipping v0.7.1 2021-07-05 18:42:57 +02:00
57abb51b13 Shipping 0.7.0 2021-07-01 11:54:45 +02:00
24180c9345 Shipping v0.6.2 2021-05-05 22:56:38 +02:00
a83bae6d3e Shipping v0.6.1 2021-04-11 18:01:27 +02:00
b84a4cfd7f Shipping v0.6.0 2021-04-11 17:27:23 +02:00
02e1656aab Merge branch 'develop' 2020-12-01 19:24:26 +01:00
9b651f933e Shipping v0.5.0 2020-05-23 15:07:27 +02:00
5 changed files with 19 additions and 19 deletions

View File

@@ -4,6 +4,7 @@
⚠️ This is not an official implementation
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg?style=for-the-badge)](https://www.gnu.org/licenses/gpl-3.0)
[![install_badge](https://img.shields.io/badge/dynamic/json?color=41BDF5&logo=home-assistant&label=integration%20usage&suffix=%20installs&cacheSeconds=15600&url=https://analytics.home-assistant.io/custom_integrations.json&query=$.georide.total)](https://analytics.home-assistant.io/)
Official GeoRide website: https://georide.fr/
@@ -101,12 +102,21 @@ mode: single
## Installation
### Option 1
- Just folow the integration config steps.
- Just follow the integration config steps.
### Option 2
- Add the folowing line in your configuration.yml
- Add the following line in your configuration.yml
```yaml
georide:
email: <your-email>@exmple.com
password: <your-password>
```
### Option 3 (manual)
- Download .zip git repo
- Go to /config (with File Editor or SSH)
- Unzip GeorideHA.zip
- Restart Home Assistant
- Go to "Integrations"
- If GeoRide not display, choose "add integration"
- Configure GeoRide add-on

View File

@@ -25,7 +25,6 @@ import homeassistant.helpers.config_validation as cv
import homeassistant.helpers.event as ha_event
from homeassistant.setup import async_when_setup
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.helpers.update_coordinator import (
CoordinatorEntity,
DataUpdateCoordinator,
@@ -93,16 +92,7 @@ async def async_setup_entry(hass, entry):
# We add trackers to the context
await context.init_context(hass)
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "device_tracker"))
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "switch"))
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "sensor"))
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "binary_sensor"))
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "siren"))
await hass.config_entries.async_forward_entry_setups(entry, ["device_tracker", "switch", "sensor", "binary_sensor", "siren"])
return True

View File

@@ -3,7 +3,7 @@
import logging
from typing import Any, Mapping
from homeassistant.components.device_tracker.const import DOMAIN, SOURCE_TYPE_GPS
from homeassistant.components.device_tracker.const import DOMAIN, SourceType
from homeassistant.components.device_tracker.config_entry import TrackerEntity
from homeassistant.helpers.update_coordinator import (
@@ -78,7 +78,7 @@ class GeoRideTrackerEntity(CoordinatorEntity, TrackerEntity):
@property
def source_type(self):
"""Return the source type, eg gps or router, of the device."""
return SOURCE_TYPE_GPS
return SourceType.GPS
@property
def location_accuracy(self):

View File

@@ -6,10 +6,10 @@
"issue_tracker": "https://github.com/ptimatth/GeorideHA/issues",
"iot_class": "cloud_polling",
"requirements": [
"georideapilib>=0.9.6",
"georideapilib>=1.0.0",
"pyjwt>=2.2.0"
],
"dependencies": [],
"codeowners": ["ptimatth"],
"version": "1.0.0"
"version": "1.1.1"
}

View File

@@ -4,5 +4,5 @@
"render_readme": true,
"domains": ["devices_tracker", "sensor"],
"country": ["FR"],
"homeassistant": "2023.2.0"
"homeassistant": "2024.11.0"
}