Joost Lekkerkerker
4e17901fef
Use shorthand attribute in Bloomsky ( #100203 )
2023-09-12 16:37:35 +02:00
Ville Skyttä
3b4774d9ed
Remove unnnecessary pylint configs from components/[a-d]* ( #98911 )
2023-08-24 00:54:02 +02:00
Erik Montnemery
231aad7a68
Sort manifests 1 ( #87022 )
2023-02-08 20:29:44 +01:00
epenet
dcea8a6ced
Add device classes to bloomsky ( #84054 )
2022-12-15 11:36:10 -05:00
epenet
1445e08090
Replace `is_metric` with `is METRIC_SYSTEM` ( #80262 )
2022-10-14 12:22:11 +02:00
epenet
dedf063e43
Improve entity type hints [b] ( #77012 )
2022-08-19 09:54:13 +02:00
Franck Nijhof
19f33d205c
Fix mix of aiohttp and requests in Bloomsky ( #74598 )
2022-07-07 12:27:25 +02:00
epenet
4363852178
Add sensor setup type hints [a-b] ( #63319 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:18:00 +01:00
epenet
cbd3cd4599
Add camera setup type hints ( #63277 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:22:41 +01:00
epenet
fbabad1d1d
Add binary_sensor setup type hints [a-f] ( #63268 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:10:41 +01:00
epenet
9e16f87ddc
Add init type hints [b-c] ( #63100 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:05:18 +01:00
Sebastian Lövdahl
bc3bf2ffe3
Use Platform constants all over the place 1/3 ( #62952 )
2021-12-28 21:13:20 +01:00
epenet
f7f50563dd
Use new DeviceClass enums in bloomsky ( #61316 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 09:14:16 +01:00
Marc Mueller
25f8d4a189
Upgrade pylint to 2.12.1 ( #60375 )
2021-11-26 00:13:27 +01:00
Ville Skyttä
73d192b3f3
Use HTTPStatus instead of HTTP_ consts and magic values in comp.../[bc]* ( #57989 )
2021-10-22 19:43:40 +02:00
Erik Montnemery
4e07ab1b32
Move temperature conversions to sensor base class (1/8) ( #48261 )
...
* Move temperature conversions to entity base class (1/8)
* Update integrations a-c
* Leave old temperature conversion until all integrations are migrated
* tweak
* Use contextlib.suppress
* Remove the MeasurableUnitEntity mixin
* Address comments, add tests
* Fix f-string
* Drop deprecation warning from base entity class
* Update with _attr-shorthand
* Fix rebase mistakes
* Fix additional rebase mistakes
* Only report temperature conversion once
* Fix additional rebase mistakes
* Format homeassistant/components/bbox/sensor.py
* Fix check for overidden _attr_state
* Remove test workarounds from implementation
* Remove useless None-check
* Tweaks
* Migrate new sensors a-c
* Update climacell
* Push deprecation of temperature conversion forward
* Override __repr__ in SensorEntity
* Include native_value in SensorEntity attributes
* Pylint
* Black
* Black
* Fix rebase mistakes
* black
* Fix rebase mistakes
* Revert changes in august/sensor.py
* Revert handling of unit converted restored state
* Apply code review suggestion
* Fix arlo test
2021-08-11 10:45:05 +02:00
J. Nick Koston
e99576c094
Pass width and height when requesting camera snapshot ( #53835 )
2021-08-10 19:33:06 -05:00
Marc Mueller
c578541a82
Add new electrical unit constants (mV + mA) ( #53158 )
2021-07-20 15:57:11 +02:00
Robert Hillis
35cab74be6
Use entity class attributes for Bloomsky ( #53030 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-07-15 15:29:12 +02:00
Erik Montnemery
9b8a776001
Set device_class on temperature sensors A-E ( #49524 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:45:29 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Erik Montnemery
e0cd7072d6
Migrate integrations a-c to extend SensorEntity ( #48210 )
2021-03-22 12:37:16 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02: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
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
springstan
621526bbae
Use moisture and moving device class in various integrations ( #39963 )
2020-09-13 16:33:54 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Franck Nijhof
5b7a4434c4
Fix BloomSky KeyError: 'monitored_conditions' ( #34613 )
...
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
2020-04-23 16:00:57 -07:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
springstan
21dfee831f
Clean up access to config in various integrations v3 ( #33842 )
2020-04-09 09:26:06 +02:00
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* 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
springstan
0d2de919a6
Clean up after global variable deletion ( #33743 )
...
* Clean up after global variable deletion
* Remove self from method calls
2020-04-06 10:32:04 -07:00
springstan
983ed8b8b4
Remove global variable from bloomsky ( #33720 )
2020-04-05 23:16:30 +02:00
Franck Nijhof
71a47fc80c
Enable pylint global-statement ( #33641 )
2020-04-04 20:10:55 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07: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
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
Franck Nijhof
6f92c19302
Correct integration names in manifests (A-B) ( #30527 )
...
* Correct names in manifests (A-B)
* Just Baidu
* Asterisk Call Detail Records
2020-01-06 23:59:12 +01:00
Bas Nijholt
73de69896b
Sort imports according to PEP8 for components starting with "B" ( #29762 )
2019-12-09 13:52:18 +01:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Franck Nijhof
9c9c921922
Use Python3 new super syntax sugar ( #26890 )
2019-09-24 15:38:20 -07:00
Franck Nijhof
6a24d893c8
Use literal string interpolation in integrations B-D (f-strings) ( #26378 )
2019-09-03 17:09:59 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Santobert
10b120f11f
Fix bloomsky unit system ( #25460 )
...
* initial commit - fix bloomsky unit system
* Add another warning
* Fix linting error
* Include metric sensor units
* Shorten a too long line
2019-07-24 19:37:36 +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
Paulus Schoutsen
c94b031db1
Fix unnecessary hass.components interaction ( #23029 )
...
* Fix wemo
* Fix bloomsky
* Fix netatmo
* Fix one more reference
2019-04-11 23:37:45 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* 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