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
Martin Hjelmare
add594a44b
Clean up smhi redundant code ( #50765 )
2021-05-17 14:34:58 +02:00
Martin Hjelmare
5da64d01e2
Fix smhi typing ( #50690 )
2021-05-15 21:38:12 +02:00
Martin Hjelmare
d84962bada
Fix smhi retry ( #50673 )
2021-05-15 18:24:34 +02:00
Christer Vestermark
fca56993c6
Add smhi wind gust speed and thunder probability ( #50328 )
...
* Added some extra attributes
Added the extra attributes
wind_gust_speed and
thunder_probability
that were already implemented in the underlaying library (joysoftware
/
pypi_smhi).
Also for the existing extra attribute cloudiness, it is added if "is not None" instead of just "if self.cloudiness" which would make it False (and therefore not available) if cloudiness = 0.
* Trying to solve the style issues
Removed white spaces and changed order of list as suggested by the tests.
* New try to solve the style issues
Removed some more white spaces...
* Changed dictionary handling as suggested
Changed dictionary handling as suggested by MartinHjelmare.
* Updated test
Updated test_weather.py to include the new attributes wind_gust_speed and thunder_probability.
* Added missing imports
Added the missing imports
ATTR_SMHI_THUNDER_PROBABILITY,
ATTR_SMHI_WIND_GUST_SPEED,
* Renaming self.thunder to self.thunder_probability and correcting test valuesfor
Renamed the new internal attribute
thunder to thunder_probability, same as the exposed attribute for improved consistency.
Corrected test values according to smhi.json.
* Forgot to change to self.thunder_probability in one place.
sorry.
2021-05-10 16:44:08 +02:00
Tomas Hellström
a29dfe0bf5
Update smhi package to 1.0.15 ( #49987 )
2021-05-03 10:21:57 +02:00
Franck Nijhof
8eb27374c6
Clean up connection classes in integrations P-S ( #49893 )
2021-04-30 21:04:44 -10:00
Franck Nijhof
e1a3ef3d69
Clean up config entry handlers decorator from config flows ( #49932 )
2021-04-30 23:28:25 +02:00
J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S ( #49778 )
2021-04-27 22:10:04 +02:00
Franck Nijhof
af80ca6795
Clean up superfluous integration setup - part 5 ( #49296 )
2021-04-16 09:22:56 -07:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Franck Nijhof
8d5ce53098
Merge of nested IF-IF cases - S-W ( #48372 )
2021-03-27 10:54:59 +01:00
Marc Mueller
a3cd1854f6
Update typing 12 ( #48073 )
2021-03-18 14:31:38 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() ( #47759 )
2021-03-11 21:23:20 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
springstan
dd4f41c1db
Use weather attribute conditions constants ( #39945 )
2020-11-20 21:04:03 +01:00
HomeAssistant Azure
9298fec345
[ci skip] Translation update
2020-11-05 00:10:11 +00:00
HomeAssistant Azure
81296b2b70
[ci skip] Translation update
2020-10-20 00:08:00 +00:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
springstan
04daa9a378
Add name to base strings for config flows ( #40947 )
...
* Add name to base strings for config flows
* Fix HA strings.json
2020-10-03 15:28:42 +02:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00:00
SNoof85
480066ba63
Add longitude and latitude common strings ( #40963 )
2020-10-01 15:36:57 +02:00
HomeAssistant Azure
75659ff787
[ci skip] Translation update
2020-09-23 00:05:01 +00:00
HomeAssistant Azure
5dcaeebdac
[ci skip] Translation update
2020-09-20 00:05:00 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
HomeAssistant Azure
c10aa13d0b
[ci skip] Translation update
2020-05-20 00:03:49 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Franck Nijhof
7d3c974747
Use set & dict literals ( #33636 )
...
Co-authored-by: Daniel Høyer Iversen <mail@dahoiv.net>
2020-04-04 20:05:15 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Pascal Vizeli
8f4d3146c1
Revert "Fix issue with smhi-pkg" ( #33259 )
...
* Revert "Fix issue with smhi-pkg (#33248 )"
This reverts commit 6990c70123
.
* Bump version to 1.0.13
2020-03-25 21:43:29 +01:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
Franck Nijhof
22760a0bee
Correct names in manifests (Q-S) ( #30543 )
2020-01-07 08:19:44 -05:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
springstan
1bb499aec2
Move imports to top for smhi ( #29545 )
2019-12-06 09:11:07 +01:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00:00
HomeAssistant Azure
2c6a869bc6
[ci skip] Translation update
2019-10-06 00:32:15 +00:00