Commit graph

154 commits

Author SHA1 Message Date
Kevin Stillhammer
253514a124
Bump pywaze to 1.0.2 (#120412) 2024-06-25 17:08:36 +02:00
Kevin Stillhammer
3844e2d533
Add service waze_travel_time.get_travel_times (#108170)
* Add service waze_travel_time.get_travel_times

* Align strings with home-assistant.io

* Remove not needed service args

* Use SelectSelectorConfig.sort

* Move vehicle_type mangling to async_get_travel_times
2024-05-08 07:56:17 +02:00
Kevin Stillhammer
bf709bae9c
Bump pywaze to 1.0.1 (#116621)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-02 09:54:06 -05:00
Kevin Stillhammer
cce8e4839a
Add reconfigure step for waze_travel_time (#114885)
* Add reconfigure step for waze_travel_time

* Add reconfigure_successful string

* Update tests/components/waze_travel_time/test_config_flow.py

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-04-07 00:06:30 +02:00
Kevin Stillhammer
3d6600364b
Bump pywaze to 1.0.0 (#108613) 2024-03-25 16:08:57 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] (#112706) 2024-03-08 10:35:45 -05:00
Joost Lekkerkerker
74dabff4a7
Add icon translations to Waze Travel Time (#112352)
* Add icon translations to Waze Travel Time

* Fix tests
2024-03-06 17:06:41 -05:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler (#111866) 2024-02-29 20:08:16 +01:00
J. Nick Koston
4b7a313ece
Use identity checks for CoreState (#107846)
Some of the checks used ==, and some used is. Switch
everything to is as its faster
2024-01-12 10:21:26 +01:00
Kevin Stillhammer
79eaaec1a8
Limit waze_travel_time to 0.5call/s over all entries (#101514) 2023-10-06 13:23:32 +02:00
Kevin Stillhammer
ce55116eb2
bump pywaze to 0.5.1 sets timeout to 60s (#101487) 2023-10-05 22:07:27 +02:00
Kevin Stillhammer
c9975852bb
bump pywaze to 0.5.0 (#100456) 2023-09-15 19:03:04 +02:00
Kevin Stillhammer
958b923783
Limit waze_travel_time to 1 call every 0.5s (#100191) 2023-09-13 13:29:20 +02:00
Kevin Stillhammer
862506af61
Bump pywaze to 0.4.0 (#99995)
bump pywaze from 0.3.0 to 0.4.0
2023-09-09 19:16:27 +02:00
Kevin Stillhammer
066db11620
Exchange WazeRouteCalculator with pywaze in waze_travel_time (#98169)
* exchange WazeRouteCalculator with pywaze

* directly use async is_valid_config_entry

* store pywaze client as property

* fix tests

* Remove obsolete error logs

* Reuse existing httpx client

* Remove redundant typing

* Do not clcose common httpx client
2023-08-14 10:02:30 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Kevin Stillhammer
609a7ccda8
Use Selectors for waze_travel_time flows (#91778)
* Use Selectors for waze_travel_time flows

* Use correct selector option in tests

* Remove duplicate option

* Use suggested values
2023-04-21 12:57:45 +02:00
Kevin Stillhammer
28d045cf75
Allow resetting filters for waze_travel_time (#88253)
* Allow resetting filters by using vol.Maybe

* Fix return types

* Use suggested values

* Apply feedback

* Apply nitpick
2023-03-29 21:05:20 +02:00
epenet
0e1c76f81f
Improve sensor type hints in integrations (#90031)
* Improve sensor type hints in integrations

* Improve
2023-03-21 11:39:42 +01:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
epenet
fba13dcc90
Use UnitOfTime in integrations (t-z) (#84291) 2022-12-20 12:30:14 +01:00
epenet
d72c28a135
Use UnitOfLength in integrations (#84034) 2022-12-15 12:42:53 +01:00
Kevin Stillhammer
c467b890fe
Add homeassistant.helpers.location to loggers for travel_time integrations (#83705)
Add homeassistant.helpers.location to loggers
2022-12-10 20:18:20 +02:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action
3ab9a14ce7 [ci skip] Translation update 2022-12-06 00:21:31 +00:00
GitHub Action
5f9290e572 [ci skip] Translation update 2022-12-05 00:23:07 +00:00
GitHub Action
03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
GitHub Action
197e71203b [ci skip] Translation update 2022-11-30 00:26:16 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action
dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
Kevin Stillhammer
77585686e0
Allow empty string for filters for waze_travel_time (#80953)
* Allow empty string for filters

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Apply PR feedback

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-10-28 21:01:53 -04:00
epenet
0c79a9a33d
Adjust pylint for IMPERIAL_SYSTEM deprecation (#80874)
* Adjust pylint for IMPERIAL_SYSTEM deprecation

* Use correct location

* Adjust components
2022-10-24 15:25:00 +02:00
Kevin Stillhammer
c70614fd7c
Move default options to config_flow for waze_travel_time (#80681)
Move default options to config_flow

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-10-21 08:02:41 -07:00
Kevin Stillhammer
8dd2d6f825
Remove deprecated yaml import for waze_travel_time (#80669)
Remove deprecated yaml import

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-10-20 08:17:21 -07:00
epenet
2b2275dfb3
Use US_CUSTOMARY_SYSTEM in components (#80623) 2022-10-19 18:54:50 +02:00
epenet
62690759d4
Move attribution to standalone attribute [t-z] (#80521) 2022-10-18 13:33:36 +02:00
epenet
7d56ae772e
Use local UNIT constants in waze_travel_time (#80325) 2022-10-14 15:11:22 +02:00
epenet
02d0b8eef6
Adjust distance unit check in waze travel time (#80241)
* Adjust distance unit check in waze travel time

* Reduce size of PR

* Use system compare

* Use is not ==
2022-10-14 12:22:27 +02:00
epenet
503434e538
Use DistanceConverter in components (#80182)
* Use DistanceConverter in components

* Adjust for METRIC_SYSTEM
2022-10-12 21:33:38 +02:00
Kevin Stillhammer
d01f85b6aa
Remove old import logic for waze_travel_time (#80079)
Remove old import logic
2022-10-11 12:05:53 +03:00
GitHub Action
7eb101b0c7 [ci skip] Translation update 2022-10-04 00:37:13 +00:00
Kevin Stillhammer
31ddf6cc31
Log config_flow errors for waze_travel_time (#79352) 2022-10-01 08:56:47 -07:00
Orad SA
3c6c673a20
Add state_class to Waze travel time for statistics support (#77386) 2022-09-18 22:34:53 +02:00
epenet
a6b6949793
Improve entity type hints [w] (#77886) 2022-09-06 13:59:37 +02:00