Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) ( #54476 )
...
* Move temperature conversions to entity base class (6/8)
* Fix tests
2021-08-12 17:40:55 +02:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 ( #48943 )
2021-04-09 09:58:27 -07:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity ( #48215 )
2021-03-22 19:54:14 +01:00
Andreas Brett
993261e7f5
Add "timestamp" attribute to seventeentrack ( #47960 )
...
* bump py17track to 3.0.1
* Make aiohttp ClientSession optional
as introduced in py17track v3.0.0 (https://github.com/bachya/py17track/releases/tag/3.0.0 )
* Update manifest.json
* add new attribute timestamp
introduced in 3.1.0
* Update requirements.txt
* Update requirements_all.txt
* Update requirements.txt
* Update requirements_test_all.txt
* Update sensor.py
* Update sensor.py
* Update manifest.json
* provide timezone configuration
user config to pre-define timezone of package status timestamps
* Update requirements_all.txt
* Update requirements_test_all.txt
* linting
* use hass.config.time_zone
* Update sensor.py
* Update test_sensor.py
* Update test_sensor.py
* black
* Update manifest.json
* adjust changes to session param
* added test against latest dev branch
* make isort happy
* make black happy
* make flake8 happy
* make black happy
* bump to 3.2.1
* 3.2.1
* Update typing 15
2021-03-19 12:34:06 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() ( #47759 )
2021-03-11 21:23:20 +01:00
tkdrob
3baeed3684
Clean up constants ( #47323 )
2021-03-05 19:08:04 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Olivér Falvai
c439d25ac3
Add location to summary sensor attributes ( #43641 )
2020-11-25 13:41:56 -07:00
J. Nick Koston
f50976a0b3
Switch to asyncio.wait for slow update warning implementation ( #41184 )
2020-10-05 15:28:15 +02:00
Ole-Martin Heggen
2d70df9776
Fix url in seventeentrack delivered notification ( #38646 )
2020-08-07 14:14:42 -06:00
Franck Nijhof
e8a0abd107
String formatting improvements ( #33635 )
...
* String formatting improvements
* Found another one
2020-04-04 18:21:14 +02:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
springstan
22225cea4d
Move imports to top for seventeentrack ( #29264 )
...
* Move imports to top for seventeentrack
* Updated patch target path in test_sensor.py
2019-12-01 10:19:17 -07:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Thomas Germain
4936e55979
Improve seventeentrack ( #25454 )
...
* Code improvement + tests
* review
* review + moving to pytest test function
* move test to async
* remove code comment
2019-07-28 19:55:46 +02:00
tgermain
60ca8b95a4
Fix issue #24495 ( #25199 )
2019-07-17 13:05:26 -06:00
Aaron Bach
6a7bd19a5a
Remove archived 17track packages from the entity registry ( #23049 )
...
* Remove archived 17track packages from the entity registry
* Fix incorrect __init__.py
* Member comments
* Member comments
* Fix too many params
* Member comments
* Member comments
2019-04-19 09:14:14 +02: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
Aaron Bach
7d46ed0bf9
Remove expired 17track.net packages from entity registry ( #23001 )
...
* Remove expired 17track.net packages from entity registry
* Reverse order
2019-04-12 08:03:14 -06: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
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