Franck Nijhof
fcb612cd6f
Collection of code styling tweaks ( #87344 )
2023-02-03 23:51:27 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Marc Mueller
7c8f6e9fad
Drop unused dtype ( #86459 )
2023-01-23 16:24:02 +01:00
Marc Mueller
6f94e47270
Update Union typing (6) [Py310] ( #86454 )
2023-01-23 15:01:07 +01:00
Daniel Gangl
cc74fcbda7
Remove deprecated zamg YAML config ( #86113 )
2023-01-17 21:58:20 +01:00
Daniel Gangl
8ca92254b6
Correct zamg config flow comments ( #81369 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
fixes undefined
2022-12-20 11:47:32 +01:00
epenet
a3c4996291
Use new device class in zamg ( #83361 )
2022-12-06 10:56:23 +01:00
Daniel Gangl
b2b3c47917
Add config flow to zamg ( #66469 )
2022-10-26 18:35:12 +02:00
epenet
3a0eae3986
Improve entity type hints [z] ( #77890 )
2022-09-06 14:01:09 +02:00
Marc Mueller
d73754d292
Fix TypeAlias + TypeVar names ( #76897 )
2022-08-16 21:19:55 -04:00
Franck Nijhof
22eba6ce1b
Remove attribution from extra state attributes ( #76172 )
2022-08-04 08:13:20 +02:00
Franck Nijhof
c01f7d75d5
Fix mix of aiohttp and requests in ZAMG ( #74628 )
2022-07-07 16:59:49 +02:00
Marc Mueller
bcb93d95bb
Update typing (4) [u-z] ( #63925 )
2022-01-11 21:26:45 +01:00
epenet
b14ac1b94a
Remove invalid return values in setup methods [r-z] ( #63365 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 10:52:30 +01:00
Robert Hillis
d68946f568
Use Enums in zamg ( #61976 )
2021-12-15 16:17:20 -08:00
Marc Mueller
9fe434ac36
Use EntityDescription - zamg ( #54942 )
2021-08-23 22:44:03 +02:00
Erik Montnemery
ae507aeed1
Move temperature conversions to sensor base class (8/8) ( #54483 )
...
* Move temperature conversions to entity base class (8/8)
* Fix wallbox sensor
* Fix tests
2021-08-11 21:17:16 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
Erik Montnemery
1a74fd7a14
Set device_class on temperature sensors R-Z ( #52920 )
2021-07-12 18:53:52 +02:00
Martin
623baa7964
Fix zamg station check ( #49367 )
2021-05-20 09:25:31 +02:00
J. Nick Koston
bf2d40adfe
Migrate from pytz to python-dateutil ( #49643 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-07 22:46:26 -07:00
Erik Montnemery
0c086b5067
Migrate integrations w-z to extend SensorEntity ( #48217 )
2021-03-22 19:50:29 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +01:00
springstan
e330468a13
Use pressure constants in code base ( #40262 )
2020-09-19 09:26:08 +02:00
springstan
90f5b178ef
Use AREA_SQUARE_METERS constant in all integrations ( #40107 )
2020-09-15 15:00:26 -06:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02: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
00b6409b76
Use LENGTH_METERS constant ( #34110 )
2020-04-12 21:44:56 +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
78d87dc40f
Use TEMP_CELSIUS constant ( #33963 )
2020-04-10 19:17:46 +02:00
springstan
fca90a8ddc
Improve string formatting v5 ( #33697 )
...
* Improve string formatting v5
* Address review comments
2020-04-05 17:48:55 +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
Paulus Schoutsen
52818bdb89
Make Hassfest stricter pt 2 ( #30068 )
...
* Make Hassfest stricter
* Fix if-condition
* Small cleanup
2019-12-19 14:00:22 +01:00
Bas Nijholt
6cc75fc6f3
Sort imports according to PEP8 for components starting with "Z" ( #29784 )
...
* use isort to sort imports for components starting with 'z'
* add skip to end of zha/core/channels/__init__.py
* put 'pylint: disable=import-error' at the right place
* remove the import of config_flow in zha/__init__.py
According to @balloob it is no longer needed.
* revert previous commit
* isort:skip homeassistant/components/zha/__init__.py completely
2019-12-09 18:54:54 +01:00
Franck Nijhof
dae6895a95
Use literal string interpolation in integrations X-Z (f-strings) ( #26395 )
2019-09-03 21:15:31 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25: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
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