G Johansson
55a1082866
Return unknown when data is missing in Trafikverket Weather ( #122652 )
...
Return unknown when data is missing
2024-07-26 16:59:12 +02:00
G Johansson
ebe7a4747d
Bump pytrafikverket to 1.0.0 ( #121210 )
...
* Update all related files and tests to new version
* Fix missed modal
* Bump requirements
2024-07-04 21:09:19 +02:00
G Johansson
6cb703aa1d
Use config entry runtime data in Trafikverket Weather ( #116554 )
2024-05-01 21:58:21 +02:00
Joost Lekkerkerker
13b8fd4149
Remove entity description mixin in Trafikverket Weatherstation ( #112957 )
2024-03-10 18:14:47 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] ( #112705 )
2024-03-08 10:35:23 -05:00
Joost Lekkerkerker
cd967c1af4
Add icon translations to Trafikverket Weather station ( #112323 )
2024-03-05 13:00:10 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
G Johansson
091559d147
Add new sensors to Trafikverket Weather ( #104199 )
2023-11-19 20:34:41 +01:00
G Johansson
47cd368ed2
New api endpoint for Trafikverket Weather ( #104165 )
...
* New api endpoint for Trafikverket Weather
* fix tests
2023-11-19 10:41:48 +01: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
Joost Lekkerkerker
b8369a5831
Add entity translations to trafikverket weatherstation ( #96251 )
2023-07-10 19:42:13 +02:00
G Johansson
ac8d8dccd2
Add translation for Trafikverket Weatherstation sensor ( #87315 )
...
* Trafikverket weatherstation translate sensor
* Fix enums
2023-05-30 21:25:31 -04:00
G Johansson
82b4368d1d
Bump pytrafikverket to 0.3.1 ( #92425 )
...
* Bump pytrafikverket 0.3.0
* 0.3.1
* mypy
* Fix exceptions
2023-05-05 21:19:16 +02:00
G Johansson
b092698418
Fix UoM and device_class in Trafikverket Weather ( #87308 )
2023-02-03 17:07:50 +01:00
epenet
9856a811ae
Use new device class in trafikverket weatherstation ( #83370 )
2022-12-06 10:16:49 +01:00
epenet
0e764b57c2
Use SensorDeviceClass.SPEED in components ( #79262 )
2022-09-29 09:37:21 +02:00
G Johansson
20d70337d5
Migrate Trafikverket Weatherstation to new entity naming style ( #75211 )
2022-07-16 17:07:16 +02:00
G Johansson
d2c9fa4075
Bump pytrafikverket to 0.2.0.1 ( #71131 )
...
* Bump pytrafikverket to 0.2.0.1
* Use system timezone
* Minor review changes
* current time
* Adjustments timezone
2022-05-05 20:55:52 +02:00
G Johansson
9b70c10c8e
Implement coordinator for trafikverket_weather ( #65233 )
2022-03-28 13:13:02 -10:00
Robert Hillis
619c1f014b
Remove deprecated yaml config from trafikverket_weatherstation ( #68336 )
2022-03-18 19:33:01 +01:00
G Johansson
55143e240b
Add DeviceInfo to trafikverket_weatherstation ( #64083 )
...
* Add DeviceInfo to trafikverket_weatherstation
* Correct DeviceInfo
2022-01-14 12:42:59 +01:00
epenet
eafece3651
Add setup type hints (part 1) ( #63955 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 08:49:46 +01:00
G Johansson
3950933514
Code improvements to trafikverket_weatherstation ( #62854 )
...
* Code cleanup
* Fix extra state attributes
* Fix review comments
* Fix precipitation_amount if None
* Fix sensors returning None
* Use const for sensors reporting None
2022-01-06 16:33:06 +01:00
Marc Mueller
b168a8c7d0
Use imports from helpers.typing
( #63459 )
2022-01-05 14:56:34 +01:00
Robert Hillis
b4daa88d9e
Use enums in trafikverket_weatherstation ( #62027 )
2021-12-16 13:05:46 +01:00
G Johansson
da5374614f
Improve code quality trafikverket_weatherstation ( #61044 )
...
* Code quality trafikverket_weatherstation
* Updates from review
* Fix extra attributes settings
* Fix for additional review comments
2021-12-06 18:01:46 +01:00
G Johansson
d211dc6e6e
Fix trafikverket_weatherstation ( #60772 )
...
* First commit
* Modify test according to fixes
* Review changes
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-02 00:14:42 +01:00
G Johansson
11b81ef88b
Config flow for trafikverket_weatherstation ( #60078 )
...
* First commit
* Added tests
* Add requirements for test
* Correction requirements tests
* Add init to untested files
* Fix review comments
* Resolve last items from review
* Add sync_abort_entries_match in import flow
2021-11-30 19:53:41 +01:00
Marc Mueller
05de7a78d1
Use EntityDescription - trafikverket_weatherstation ( #54430 )
2021-08-21 20:32:40 +02:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) ( #54482 )
2021-08-11 18:57:50 +02:00
Erik Montnemery
783b453bbe
Migrate integrations t-v to extend SensorEntity ( #48216 )
2021-03-22 19:47:44 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +01:00
springstan
06a133c3e9
Add and use length millimeters constant ( #40116 )
...
* Add and use length millimeters constant
* Fix pylint error
* Fix broken accuweather sensor test
2020-09-22 21:09:17 -05:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
endor
bf643b63ad
Add wind max speed to trafikverket_weatherstation ( #38929 )
...
* Add wind max speed to trafikverket_weatherstation
* Update CODEOWNERS
2020-08-17 15:39:00 -04:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants ( #34164 )
...
* Drop UNIT_ prefix for VOLT
* Drop UNIT_ prefix for DEGREE
* Drop UNIT_ prefix for CONDUCTIVITY
* Drop UNIT_ prefix for UV_INDEX
* Run isort
2020-04-21 19:45:53 +02:00
springstan
b893150154
Add and use UNIT_DEGREE constant ( #33978 )
...
* Add and use UNIT_DEGREE constant
* Replace more occurrences
* Add and use TEMP_KELVIN
* Run isort
2020-04-11 16:54:11 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ( #32122 )
...
* Add and use speed constants
* Add and use meter based volume and area constants
* Add and use more mass unit constants
* Add and use concentration unit constants
* Add and use watts per square meter constant
* Use more time constants
* Use more data constants
2020-02-24 17:52:14 -08:00
springstan
a85808e325
Add and use time related constants ( #32065 )
...
* Add and use time related constants
* Sort time constants and reuse them in data rate constants
* Fix greeneyemonitor import
* Fix greeneyemonitor import V2
* Fix failing here_travel_time test
* Add TIME_MONTHS and TIME_YEARS
* Use TIME_MINUTES in opentherm_gw and isy994
* Add and use TIME_MILLISECONDS
* Change inconsistent ones
* Add TIME_MICROSECONDS and TIME_WEEKS
* Use constants in apcupsd and travisci
* Fix import error in upnp sensor.py
* Fix isy994 sensor.py using TIME_YEARS
* Fix dyson tests
* Use TIME_SECONDS in more places
* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
springstan
595567ad82
Move imports to top for trafikverket_weatherstation ( #29108 )
2019-11-26 10:23:08 -08:00
Franck Nijhof
ef0e9431b6
Use literal string interpolation in integrations T-W (f-strings) ( #26394 )
2019-09-03 21:12:51 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
endor
9f96aab2f4
Additional sensors and fixed icons, attributes and device classes. ( #22139 )
2019-03-18 18:55:09 +01:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00