1
0
mirror of https://github.com/home-assistant/core.git synced 2025-11-03 16:09:36 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Joost Lekkerkerker
96cebdf096 Improve lists in integrations [T-U] () 2024-03-13 17:54:46 +01:00
Marc Mueller
062cc4bfce Add empty line after module docstring [t-v] () 2024-03-08 10:35:23 -05:00
epenet
b8a5869f76 Refactor ted5000 to use entity descriptions ()
* Refactor ted5000 to use entity descriptions

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Refactor native_value

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-12 15:36:27 +01:00
epenet
458001a06e Improve entity type hints [t] () 2022-09-06 13:35:52 +02:00
epenet
b14ac1b94a Remove invalid return values in setup methods [r-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 10:52:30 +01:00
epenet
69df7bc43d Use new enums in ted5000 ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:59:50 +01:00
Erik Montnemery
94a264afaf Move temperature conversions to entity base class (7/8) () 2021-08-11 18:57:50 +02:00
Marc Mueller
074d762664 Rename and reorganize electric unit constants () 2021-07-20 20:06:23 +02:00
Franck Nijhof
927b74b4a2 Add state class to The Energy Detective TED5000 () 2021-06-23 10:44:25 -07:00
Marc Mueller
8e2b5b36b5 Bump pyupgrade to 2.12.0 () 2021-04-09 09:58:27 -07:00
Franck Nijhof
6932cf9534 Use contextlib.suppress where possible () 2021-03-23 14:36:43 +01:00
Erik Montnemery
783b453bbe Migrate integrations t-v to extend SensorEntity () 2021-03-22 19:47:44 +01:00
springstan
ef9d9b17bd Drop UNIT_ prefix for constants ()
* 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
04c4501455 Add and use UNIT_VOLT constant ()
* Add and use UNIT_VOLT constant

* Run isort
2020-04-11 02:04:58 +02:00
springstan
0d95eff21d Use dict literals () 2020-04-04 22:31:56 +02:00
Michał Mrozek
d8b73f9459 move imports in ted5000 component () 2019-10-13 13:55:24 -07:00
Franck Nijhof
ef0e9431b6 Use literal string interpolation in integrations T-W (f-strings) () 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 ()
* 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 ()
* 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