Maciej Bieniek
648e649718
Use SensorEntityDescription in AccuWeather integration ( #53604 )
...
* Use SensorEntityDescription
* Add missing type for entity_description
* Use tuples instead of lists
* Suggested change
2021-07-28 10:26:14 +02:00
GitHub Action
531733da7b
[ci skip] Translation update
2021-07-19 00:09:50 +00:00
GitHub Action
62a2efaf27
[ci skip] Translation update
2021-07-16 00:10:34 +00:00
GitHub Action
b347226820
[ci skip] Translation update
2021-07-10 00:09:24 +00:00
Robert Hillis
5367a036d2
Use entity class attributes for accuweather ( #52431 )
2021-07-05 11:36:04 +02:00
GitHub Action
abc9b01ede
[ci skip] Translation update
2021-07-05 00:09:10 +00:00
GitHub Action
378b5f75ec
[ci skip] Translation update
2021-07-04 00:09:33 +00:00
Maciej Bieniek
e6c850136c
Add support for state_class to AccuWeather integration ( #51510 )
...
* Add support for state_class
* Use get() method
2021-06-25 10:06:15 +02:00
Maciej Bieniek
2aed268fb7
Remove `undo_listener` variable in AccuWeather integration ( #52032 )
2021-06-20 21:40:04 -07:00
Maciej Bieniek
57106098f9
Fix AccuWeather sensors updates ( #52031 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-20 14:53:08 -07:00
Franck Nijhof
3b00e87ebc
Define WeatherEntity entity attributes as class variables ( #51899 )
2021-06-17 10:16:16 +02:00
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
Maciej Bieniek
ccd8e1332c
Address late review comments for AccuWeather integration ( #50866 )
...
* Remove unnecessary converting datetime to str
* Address late comments
2021-05-20 09:29:10 +02:00
Maciej Bieniek
bce5f8ee05
Improve AccuWeather type annotations ( #50616 )
...
* Improve type annotations
* Remove unused argument
* Simplify state logic
* Fix uvindex state
* Fix type for logger
* Increase tests coverage
* Fix pylint arguments-differ error
* Suggested change
* Suggested change
* Remove unnecessary variable
* Remove unnecessary conditions
* Use int instead of list for forecast days
* Add enabled to sensor types dicts
* Fix request_remaining conversion and tests
* Run hassfest
* Suggested change
* Suggested change
* Do not use StateType
2021-05-19 09:37:16 +01:00
Maciej Bieniek
4c68518b18
Bump accuweather library ( #50573 )
2021-05-14 09:38:44 +02:00
Franck Nijhof
d4d0b93d3b
Clean up connection classes in integrations A-C ( #49888 )
2021-04-30 21:01:52 -10:00
J. Nick Koston
51be2f860a
Reduce boilerplate to setup config entry platforms A-C ( #49681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
HomeAssistant Azure
020d456889
[ci skip] Translation update
2021-04-21 00:03:47 +00:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
HomeAssistant Azure
0b4b071c02
[ci skip] Translation update
2021-04-14 00:03:17 +00:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
J. Nick Koston
a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate ( #48451 )
2021-03-29 12:51:39 -10:00
Franck Nijhof
52475c108f
Make integration setup optional ( #48381 )
2021-03-29 13:53:47 -07:00
HomeAssistant Azure
d5afd0afb3
[ci skip] Translation update
2021-03-26 00:04:15 +00:00
Erik Montnemery
9e9ba53f0e
Move SensorEntity last in the inheritance tree ( #48230 )
2021-03-22 20:05:13 +01:00
Erik Montnemery
e0cd7072d6
Migrate integrations a-c to extend SensorEntity ( #48210 )
2021-03-22 12:37:16 +01:00
HomeAssistant Azure
46a3b80a2d
[ci skip] Translation update
2021-03-21 00:05:03 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Maciej Bieniek
0be1389cf4
Bump accuweather library ( #47915 )
2021-03-14 22:44:04 -07:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01: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
HomeAssistant Azure
43621091b7
[ci skip] Translation update
2021-02-27 00:05:45 +00:00
Maciej Bieniek
593e7aea5a
Bump accuweather to 0.1.0 ( #46951 )
2021-02-23 14:00:21 +01:00
tkdrob
4fdb617e22
Clean up constants ( #46924 )
...
* Clean up constants
* fix imports
2021-02-23 09:56:44 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Maciej Bieniek
14f5eb7305
Increase update interval in AccuWeather integration ( #44984 )
2021-01-20 15:17:53 -05:00
Chris
176415b045
Fix AccuWeather condition mapping ( #44710 )
2021-01-01 15:40:28 +01:00
HomeAssistant Azure
6b743c3d16
[ci skip] Translation update
2020-12-24 00:03:44 +00:00
HomeAssistant Azure
139fb518d6
[ci skip] Translation update
2020-12-23 00:03:22 +00:00
HomeAssistant Azure
5bdf022bf2
[ci skip] Translation update
2020-12-20 00:04:36 +00:00
Abílio Costa
896f51fd82
Add Wind to Accuweather sensors ( #44364 )
2020-12-19 16:10:02 +01:00
HomeAssistant Azure
1ac937c7d5
[ci skip] Translation update
2020-12-19 00:03:56 +00:00
HomeAssistant Azure
4bdb793a94
[ci skip] Translation update
2020-12-18 00:03:48 +00:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
6e74f90136
[ci skip] Translation update
2020-12-05 00:03:50 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
HomeAssistant Azure
8e6108b9e1
[ci skip] Translation update
2020-12-03 00:04:35 +00:00
Franck Nijhof
f2a371257d
Translation update
2020-12-02 20:51:05 +01:00
Maciej Bieniek
b294e1c98c
Add support for system health to AccuWeather integration ( #43277 )
2020-12-02 19:36:16 +01:00
springstan
dd4f41c1db
Use weather attribute conditions constants ( #39945 )
2020-11-20 21:04:03 +01:00
HomeAssistant Azure
262fadd9bc
[ci skip] Translation update
2020-11-18 00:09:55 +00:00
springstan
30b94892c4
Use strings instead of f-strings for constants ( #40619 )
2020-11-09 10:09:53 +01:00
HomeAssistant Azure
eebf0ef336
[ci skip] Translation update
2020-11-08 00:04:05 +00:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
ce16ff27ef
[ci skip] Translation update
2020-11-02 00:03:44 +00:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
HomeAssistant Azure
00847db54f
[ci skip] Translation update
2020-10-21 00:06:01 +00:00
HomeAssistant Azure
39adf14079
[ci skip] Translation update
2020-10-17 00:06:00 +00:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
ba55cb8955
[ci skip] Translation update
2020-10-14 00:04:41 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
Maciej Bieniek
d9e48b483b
Use name translation reference in AccuWeather config flow ( #41338 )
2020-10-06 16:49:02 +02:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
SNoof85
480066ba63
Add longitude and latitude common strings ( #40963 )
2020-10-01 15:36:57 +02:00
HomeAssistant Azure
2b00d28af9
[ci skip] Translation update
2020-09-27 00:06:49 +00: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
HomeAssistant Azure
75659ff787
[ci skip] Translation update
2020-09-23 00:05:01 +00:00
Maciej Bieniek
0400754270
Bump accuweather library to version 0.0.11 ( #40458 )
2020-09-22 17:36:44 +02:00
HomeAssistant Azure
587e3f1eb2
[ci skip] Translation update
2020-09-21 00:02:47 +00:00
HomeAssistant Azure
0a0a8fc67d
[ci skip] Translation update
2020-09-18 00:07:17 +00:00
HomeAssistant Azure
d0f4b23063
[ci skip] Translation update
2020-09-15 00:09:18 +00:00
HomeAssistant Azure
ee5c1ea3f7
[ci skip] Translation update
2020-09-12 00:05:00 +00:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Maciej Bieniek
1e770f089d
Bump accuweather library ( #39667 )
2020-09-04 18:01:49 -05:00
HomeAssistant Azure
65b227126d
[ci skip] Translation update
2020-09-03 00:06:16 +00:00
HomeAssistant Azure
5ce62c8446
[ci skip] Translation update
2020-09-02 00:03:29 +00:00
springstan
1e97ca14f1
Update accuweather to fully use CoordinatorEntity ( #39431 )
2020-08-30 10:38:26 -05:00
springstan
152b6c2d1a
Update accuweather to use CoordinatorEntity ( #39408 )
2020-08-30 09:06:38 -05:00
HomeAssistant Azure
904f5c4346
[ci skip] Translation update
2020-08-30 00:03:17 +00:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Maciej Bieniek
a7e19c8896
Improve tests for AccuWeather integration ( #38621 )
...
* Add more tests
* Add tests for sensor platform
* Add more tests
* More tests
* Simplify parsing of attributes
* Change Quality scale to platinum
* Patch the library in the manual update entity test
* Add unsupported condition icon test
* Do not patch _async_get_data
* Apply suggestions from code review
* Update config_flow.py
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/components/accuweather/test_weather.py
* Apply suggestions from code review
* Add return_value
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 09:21:36 -05:00
Chris Talkington
f8570438e9
Fix AccuWeather async timeout ( #38654 )
2020-08-07 23:50:08 -05:00
HomeAssistant Azure
e32a57ce48
[ci skip] Translation update
2020-08-06 00:02:06 +00:00
Maciej Bieniek
56f8ced267
Add device_info property for AccuWeather integration ( #38480 )
2020-08-05 12:50:34 +02:00
HomeAssistant Azure
e76db60367
[ci skip] Translation update
2020-08-05 00:02:19 +00:00
HomeAssistant Azure
ce71775722
[ci skip] Translation update
2020-08-03 00:02:55 +00:00
Maciej Bieniek
a57dca1e11
Add sensor platform for AccuWeather integration ( #38312 )
...
* Add sensor platform
* Fix typo
2020-08-02 09:22:51 -05:00
HomeAssistant Azure
04e5fc7ccd
[ci skip] Translation update
2020-08-01 00:03:18 +00:00
HomeAssistant Azure
4bd9509fa7
[ci skip] Translation update
2020-07-31 00:02:40 +00:00
HomeAssistant Azure
99b624a676
[ci skip] Translation update
2020-07-30 00:03:25 +00:00
HomeAssistant Azure
ff3d76b464
[ci skip] Translation update
2020-07-29 00:02:39 +00:00
HomeAssistant Azure
e6e3517a94
[ci skip] Translation update
2020-07-28 00:04:53 +00:00
Maciej Bieniek
2b0914994d
Add changes from comments after merging AccuWeather ( #38227 )
...
* Fix documentation url
* Return None instead STATE_UNKNOWN
* Invert forecast check
* Patch async_setup_entry in test_create entry
* Improve test name, docstring and add comment
2020-07-26 20:00:47 -05:00
HomeAssistant Azure
8abdc2c969
[ci skip] Translation update
2020-07-27 00:02:58 +00:00
HomeAssistant Azure
d1464211a6
[ci skip] Translation update
2020-07-26 00:04:14 +00:00
HomeAssistant Azure
a1ebb52813
[ci skip] Translation update
2020-07-25 00:04:22 +00:00
Maciej Bieniek
581c4a4edd
Add AccuWeather integration ( #37166 )
...
* Initial commit
* Fix strings
* Fix unit system
* Add config_flow tests
* Simplify tests
* More tests
* Update comment
* Fix pylint error
* Run gen_requirements_all
* Fix pyline error
* Round precipitation and precipitation probability
* Bump backend library
* Bump backend library
* Add undo update listener on unload
* Add translation key for invalid_api_key
* Remove entity_registry_enabled_default property
* Suggested change
* Bump library
2020-07-24 15:59:15 -05:00