Commit Graph

24 Commits (d915fd3052fa7f3725314e5989e1e287d8a7890b)

Author SHA1 Message Date
epenet 62690759d4
Move attribution to standalone attribute [t-z] () 2022-10-18 13:33:36 +02:00
epenet 050cb275ff
Improve entity type hints [v] () 2022-09-06 13:59:05 +02:00
Erik Montnemery fbaff21b67
Format viaggiatreno/sensor.py () 2022-06-29 10:43:58 +02:00
Lorenzo Milesi 8087982193
Update base url for ViaggiaTreno API () 2022-06-29 10:25:38 +02:00
Franck Nijhof 20bdcc7fff
Replace hass.helpers: async_get_clientsession() () 2022-01-11 17:33:50 +01:00
epenet 6f93ffb7ee
Add sensor setup type hints [t-v] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:20:39 +01:00
J. Nick Koston 10d6247fee
Bump to aiohttp 3.8.0 () 2021-11-04 10:07:50 -05:00
Ville Skyttä cc0c79ac9a
Use http.HTTPStatus in components/[tuv]* () 2021-10-24 11:27:17 +02:00
Marc Mueller 1e98761f30
Use assignment expressions 15 () 2021-10-18 14:01:23 +02:00
Fabrizio Tarizzo ef4b6d7bdf
Update viaggiatreno component due to API changes () 2021-09-30 13:22:43 +02:00
Erik Montnemery ae507aeed1
Move temperature conversions to sensor base class (8/8) ()
* Move temperature conversions to entity base class (8/8)

* Fix wallbox sensor

* Fix tests
2021-08-11 21:17:16 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Erik Montnemery 783b453bbe
Migrate integrations t-v to extend SensorEntity () 2021-03-22 19:47:44 +01:00
Erik Montnemery 1fc8e32d86
Update integrations t-z to override extra_state_attributes() () 2021-03-11 20:16:26 +01:00
springstan 8d61893c39
Use HTTP_OK constant ()
* Use http ok constant

* Remove incorrect use

* Run isort

* Fix pylint by adding missing imports

* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
springstan a85808e325
Add and use time related constants ()
* 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
Franck Nijhof b4d6d238e5 Correct names in manifests (T-Z) () 2020-01-07 14:31:18 +01:00
Franck Nijhof c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen f995ab9d54
Don't pass in loop ()
* Don't pass in loop

* Revert some changes

* Lint + Axis revert

* reinstate loop

* Fix a test

* Set loop

* Update camera.py

* Lint
2019-05-22 21:09:59 -07:00
Paulus Schoutsen cfe4cf30ad
Add manifests ()
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein 048b100eea Clean up docstrings ()
* 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 ()
* 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