J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S ( #49778 )
2021-04-27 22:10:04 +02:00
Paulus Schoutsen
a90d3a051f
prefer total_seconds over seconds ( #49505 )
2021-04-20 17:41:36 -07:00
J. Nick Koston
0b26294fb0
Small cleanups to rachio ( #49404 )
...
- Remove unused async_step
- Reduce async callbacks from executor
2021-04-19 10:39:45 +02:00
Ruslan Sayfutdinov
7a9385d857
Explicitly define all methods in ConfigFlow ( #49341 )
2021-04-17 12:42:31 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
HomeAssistant Azure
93c68f8be6
[ci skip] Translation update
2021-04-13 00:04:04 +00:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 ( #48943 )
2021-04-09 09:58:27 -07:00
HomeAssistant Azure
176b6daf2a
[ci skip] Translation update
2021-04-03 00:03:39 +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
HomeAssistant Azure
99874cd993
[ci skip] Translation update
2021-03-27 00:03:21 +00:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +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
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
580d25c622
[ci skip] Translation update
2021-02-23 00:05:06 +00:00
tkdrob
75e04f3a71
Clean up constants ( #46885 )
2021-02-22 15:28:08 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
tkdrob
a5a45f29e2
Cleanup unused loggers ( #46510 )
2021-02-14 13:46:58 +01:00
HomeAssistant Azure
ce159d7db3
[ci skip] Translation update
2021-02-06 00:07:22 +00:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
J. Nick Koston
3029a95410
Remove YAML support from rachio ( #45383 )
2021-01-21 15:07:47 -05:00
J. Nick Koston
da677f7d5a
Add support for discovery via DHCP ( #45087 )
...
* Add support for discovery via DHCP
* additional tesla ouis
* merge tests
* dhcp test
* merge requirements test
* dhcp test
* dhcp discovery
* dhcp discovery
* pylint
* pylint
* pylint
* fix
* Add matching tests
* 100% cover
* cleanup
* fix codespell
* Update exception handling
* remove unneeded comment
* fix options handling exception
* fix options handling exception
2021-01-14 09:09:08 +01:00
Brian Rogers
0fddaedc12
Adjust Rachio logging level when adding shared controllers ( #44323 )
...
* change logging level
* unnecessary continue
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-18 14:15:08 -06:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
Brian Rogers
f18c6ae72c
Add pause and resume services to Rachio ( #43944 )
...
* Add pause-resume
* address comments
2020-12-07 13:22:23 -06:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00: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
e972686a13
[ci skip] Translation update
2020-11-06 00:04:57 +00:00
Adam Ernst
06a7fc491e
Tweak wording of Rachio options ( #42849 )
...
This is a bit clearer to my eyes.
2020-11-05 07:27:03 -10:00
HomeAssistant Azure
9298fec345
[ci skip] Translation update
2020-11-05 00:10:11 +00:00
Adam Ernst
ceb8172b7c
Tweak Rachio integration strings ( #42843 )
...
This is now called "Settings", not "Account Settings", on the home page. (Confusingly the page the button leads to is still titled "Account Settings".)
Also add a missing quote and tweak grammar.
2020-11-04 08:34:09 -10:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
f4cebfbb7e
[ci skip] Translation update
2020-10-27 00:06:28 +00:00
Brian Rogers
199464f084
Add rachio service to start multiple zones ( #42092 )
2020-10-20 13:14:39 -05:00
HomeAssistant Azure
1a03bbda5a
[ci skip] Translation update
2020-10-18 00:03:28 +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
Brian Rogers
899431235b
Bump rachiopy to 1.0.3 and update methods to handle changes ( #41398 )
2020-10-10 19:44:49 -05: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
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
HomeAssistant Azure
bcfa4ac959
[ci skip] Translation update
2020-10-06 00:08:09 +00:00
HomeAssistant Azure
8d1d585b40
[ci skip] Translation update
2020-10-05 00:04:23 +00:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
Brian Rogers
fdd86edf60
Use common strings for Rachio ( #41090 )
2020-10-02 21:50:31 +02:00
Brian Rogers
40ea30da96
Fix Rachio switch state when paused ( #40984 )
2020-10-01 11:19:34 -05:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
HomeAssistant Azure
5ce62c8446
[ci skip] Translation update
2020-09-02 00:03:29 +00:00
HomeAssistant Azure
989a040b67
[ci skip] Translation update
2020-08-29 00:03:59 +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
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Brian Rogers
111c2006c8
Add Rachio zone moisture service ( #38817 )
...
* Add zone moisture percent service
* Fix tests
* Add flex const
* Add fixed constant
2020-08-18 21:51:24 -05:00
Brian Rogers
52b80a08c9
Bump Rachiopy version to 0.1.4 ( #38761 )
2020-08-11 16:40:18 +02:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
HomeAssistant Azure
2e72216a1c
[ci skip] Translation update
2020-07-11 00:02:51 +00:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
Brian Rogers
f866ff5f2b
Rachio Rain Delay Switch Update ( #36909 )
...
* Rain Delay Switch Update
* Fix sort
* Update names
2020-06-21 08:53:54 -05:00
HomeAssistant Azure
3bf389639b
[ci skip] Translation update
2020-06-07 00:03:28 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
Brian Rogers
7197ef76a6
Add Rachio rain sensor status ( #36229 )
...
* Add Rachio rain sensor status
* Remove summary
* Fix and re-add zone webhook summary
* Add slope to const
2020-05-31 10:26:56 -05:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Paulus Schoutsen
dd32324e01
Use config flow references for data ( #35529 )
2020-05-12 10:50:44 -07:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
J. Nick Koston
cfc0edff6b
Log the rachio webhook url ( #34992 )
2020-04-30 20:41:24 -04:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
Brian Rogers
481b2035db
Clean up Rachio binary sensor init ( #34855 )
...
* Update binary sensor
* Move online state to subclass
2020-04-29 11:39:09 -05:00
J. Nick Koston
f656f352a3
Remove side effects from rachio switch init ( #34799 )
...
* Remove side effects from rachio switch init
* Remove useless inits
2020-04-29 11:34:45 -05:00
Brian Rogers
360ac7e71f
Add Rachio rain delay switch ( #34741 )
...
* Add Rachio Rain Delay Switch
* Typo
* Catch KeyError
* Use HA dt module in place of time
2020-04-27 12:23:16 -05:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
J. Nick Koston
c4c2b4f9da
Add ability to ignore rachio discovery ( #34649 )
...
* Add ability to ignore rachio discovery
* update test
* Update tests/components/rachio/test_config_flow.py
Co-Authored-By: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/rachio/test_config_flow.py
Co-Authored-By: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-04-25 17:08:37 -05: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
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
HomeAssistant Azure
e1d66f6fdd
[ci skip] Translation update
2020-04-14 00:07:23 +00:00
Brian Rogers
1db6e9fcb2
Fix Rachio binary sensor cold reboot ( #33959 )
2020-04-11 02:01:22 +02:00
HomeAssistant Azure
7cc683658b
[ci skip] Translation update
2020-04-09 00:07:25 +00: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
HomeAssistant Azure
ad619817c6
[ci skip] Translation update
2020-04-08 00:08:19 +00:00
J. Nick Koston
66ac5d5b76
Abort rachio config flow if the api key is already configured… ( #33747 )
...
We now abort before hitting the api which can be slow
and block startup if importing from yaml.
2020-04-06 10:24:08 -07:00
J. Nick Koston
e3e2e817e5
Convert rachio to cloudhooks ( #33724 )
...
* Convert rachio to cloudhooks
* add cloud to after_dependencies
2020-04-05 15:47:27 -07:00
J. Nick Koston
15f41c84f9
Fix rachio import of run time from yaml ( #33723 )
...
Importing from yaml would fail for rachio when
copying the manual run time to the option flow.
2020-04-05 15:25:31 -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
springstan
e3bcfb88e7
Improve string formatting v4 ( #33668 )
...
* Improve string formatting v4
* Use normal strings instead of f-strings
* Fix zeroconf test by adding back part of a condition
2020-04-05 16:01:41 +02:00
Franck Nijhof
03cae17992
Use str literals ( #33654 )
2020-04-04 22:08:49 +02:00
Brian Rogers
2065039f65
Rachio Async fixes ( #33549 )
...
* Async fix
* Update homeassistant/components/rachio/switch.py
Co-Authored-By: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/rachio/switch.py
Co-Authored-By: J. Nick Koston <nick@koston.org>
* Fix format
* Remove from hass
* undo dispatcher
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-04-02 20:55:17 -07:00
Brian Rogers
4caf65dc97
Add Rachio Flex Schedules ( #33533 )
...
* Add Rachio Flex Schedules
* Remove Duration Property
* Missed duration call
* Black formatting
2020-04-02 13:43:40 -05:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ( #33510 )
...
* Unsub dispatcher when removing entity from hass
* Update homeassistant/components/plaato/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/volvooncall/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00