epenet
bdbecc6c05
Use new SensorDeviceClass enum in buienradar ( #61329 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 09:18:48 +01:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ( #60908 )
...
* Use platform enum (1) [A-D]
* Fix imports
* Fix tests
* Use Platform even in tests
2021-12-03 08:51:30 -08:00
MJJ
6d08bee3df
Update buienradar library to 1.0.5 ( #60473 )
...
* Update buienradar to 1.0.5
should fix https://github.com/home-assistant/core/issues/60200
* Update requirements_all.txt
* Update requirements_test_all.txt
2021-11-28 10:46:32 +01:00
GitHub Action
d3c020325b
[ci skip] Translation update
2021-11-25 00:13:33 +00:00
GitHub Action
9e606abb0c
[ci skip] Translation update
2021-11-23 00:13:54 +00:00
GitHub Action
9a85c8d894
[ci skip] Translation update
2021-11-18 00:12:48 +00:00
GitHub Action
e35b83081e
[ci skip] Translation update
2021-11-08 00:12:31 +00:00
GitHub Action
332a571bb4
[ci skip] Translation update
2021-11-07 00:12:38 +00:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05: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
Marc Mueller
487fa0a905
Use assignment expressions 20 ( #57969 )
2021-10-20 20:31:00 +02:00
GitHub Action
f42c2f5170
[ci skip] Translation update
2021-10-02 12:59:05 +00:00
Erik Montnemery
1060630bbd
Fix crash in buienradar sensor due to self.hass not set ( #55438 )
2021-08-30 10:29:39 +02:00
Marc Mueller
17902c3ffa
Use EntityDescription - buienradar ( #54317 )
2021-08-21 20:28:31 +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
GitHub Action
8c5620e74b
[ci skip] Translation update
2021-08-02 03:40:04 +00:00
Robert Hillis
f5b3118d3c
Use entity class attributes for buienradar ( #53166 )
2021-07-19 21:22:20 +02:00
GitHub Action
531733da7b
[ci skip] Translation update
2021-07-19 00:09:50 +00:00
Franck Nijhof
a5cdc0157b
Remove deprecated YAML configuration from Buienradar ( #52939 )
2021-07-15 08:31:17 +02:00
Ville Skyttä
9864f2ef8b
String formatting cleanups ( #52937 )
2021-07-13 00:12:55 +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
GitHub Action
b347226820
[ci skip] Translation update
2021-07-10 00:09:24 +00:00
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
tkdrob
c0656878db
Normalize async_setup_entry ( #51161 )
2021-05-27 15:56:20 +02:00
GitHub Action
877cb43c06
[ci skip] Translation update
2021-05-17 05:17:18 +00:00
HomeAssistant Azure
7df47664e8
[ci skip] Translation update
2021-05-12 00:04:03 +00:00
HomeAssistant Azure
dfe8ab6666
[ci skip] Translation update
2021-05-10 00:04:47 +00:00
HomeAssistant Azure
6665a62557
[ci skip] Translation update
2021-05-09 00:04:11 +00:00
HomeAssistant Azure
623a9c99fe
[ci skip] Translation update
2021-05-07 00:04:03 +00:00
HomeAssistant Azure
7dad5e8a4c
[ci skip] Translation update
2021-05-06 00:03:11 +00:00
HomeAssistant Azure
469d9123fe
[ci skip] Translation update
2021-05-05 00:04:27 +00:00
Rob Bierbooms
c063f14c24
Add configuration flow for Buienradar integration ( #37796 )
...
* Add configuration flow for Buienradar integration
* Update buienradar camera tests to work with config flow
* Update buienradar weather tests to work with config flow
* Update buienradar sensor tests to work with config flow
* Remove buienradar config_flow tests to pass tests
* Add config flow tests for buienradar integration
* Increase test coverage for buienradar config_flow tests
* Move data into domain
* Remove forecast option
* Move data to options
* Remove options from config flow
* Adjust tests
* Adjust string
* Fix pylint issues
* Rework review comments
* Handle import
* Change config flow to setup camera or weather
* Fix tests
* Remove translated file
* Fix pylint
* Fix flake8
* Fix unload
* Minor name changes
* Update homeassistant/components/buienradar/config_flow.py
Co-authored-by: Ties de Kock <ties@tiesdekock.nl>
* Remove asynctest
* Add translation
* Disable sensors by default
* Remove integration name from translations
* Remove import method
* Drop selection between platforms, disable camera by default
* Minor fix in configured_instances
* Bugfix in weather
* Rework import
* Change unique ids of camera
* Fix in import
* Fix camera tests
* Fix sensor test
* Fix sensor test 2
* Fix config flow tests
* Add option flow
* Add tests for option flow
* Add import tests
* Some cleanups
* Apply suggestions from code review
Apply code suggestions
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Fix isort,black,mypy
* Small tweaks and added typing to new parts
* Fix review comments (1)
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix review comments (2)
* Fix issues
* Fix unique id
* Improve tests
* Extend tests
* Fix issue with unload
* Address review comments
* Add warning when loading platform
* Add load/unload test
Co-authored-by: Ties de Kock <ties@tiesdekock.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-04 13:49:16 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 ( #49616 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Diogo Gomes
fd5916e067
datetime must be a string ( #47809 )
2021-03-23 20:19:47 +01: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
Marc Mueller
76199c0eb2
Update typing 04 ( #48037 )
2021-03-17 23:34:25 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
springstan
dd4f41c1db
Use weather attribute conditions constants ( #39945 )
2020-11-20 21:04:03 +01:00
springstan
30b94892c4
Use strings instead of f-strings for constants ( #40619 )
2020-11-09 10:09:53 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
Matthias Alphart
93a9a11065
Add config validator helper positive_float ( #41640 )
2020-10-11 22:04:49 +02:00
springstan
06a133c3e9
Add and use length millimeters constant ( #40116 )
...
* Add and use length millimeters constant
* Fix pylint error
* Fix broken accuweather sensor test
2020-09-22 21:09:17 -05:00
springstan
e330468a13
Use pressure constants in code base ( #40262 )
2020-09-19 09:26:08 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Rob Bierbooms
ff1709979f
Add unique ids for "buienradar" platforms weather and camera ( #37761 )
...
* Add unique ids for buienradar weather and camera
* Remove prefix from unique ids
2020-08-01 09:13:17 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +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