epenet
868a1c222c
Use _attr_attribution in poolsense ( #62180 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:23:04 +01:00
Marc Mueller
79cd281c48
Use platform enum (5) [P-R] ( #60943 )
2021-12-04 13:19:49 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05:00
Tomasz
e9f6bc7364
Add missing return type to async_unload_entry and async_setup_entry ( #57115 )
2021-10-06 10:48:11 +02:00
Marc Mueller
3001df99cb
Use EntityDescription - poolsense ( #55743 )
2021-09-06 11:58:47 +02:00
tkdrob
d1c4d0de49
Use bool annotations for setup entries ( #51166 )
2021-05-27 17:39:06 +02:00
J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P ( #49777 )
2021-04-27 20:42:21 +02:00
Franck Nijhof
969c147b77
Clean up superfluous integration setup - part 4 ( #49295 )
...
* Clean up superfluous integration setup - part 4
* Adjust tests
2021-04-16 17:46:49 +02:00
J. Nick Koston
a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate ( #48451 )
2021-03-29 12:51:39 -10: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
springstan
e701001c5f
Update poolsense to use CoordinatorEntity ( #39435 )
2020-08-30 10:47:45 -05: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
Haemish Kyd
8a2b34cc09
Updates to poolsense integration ( #37613 )
...
* Created a binary sensor and corrected some review comments.
* Updated the poolsense class and its interface to handle credentials better
* Moved the client session to the PoolSense class.
* Apply suggestions from code review
* Update binary_sensor.py
* Update homeassistant/components/poolsense/__init__.py
* Update sensor.py
* Update binary_sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-07-10 21:53:34 -05:00
Haemish Kyd
10786bbe7f
Create PoolSense integration ( #35561 )
...
* Created integration for PoolSense - a device to maintain your pool
* Updated poolsense integration with changes due to code review comments.
* Update poolsense with lint fix (logging-not-lazy)
* Update poolsense with lint fix (f string missing placeholders)
* Update homeassistant/components/poolsense/config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Added test for poolsense component. Updated config_flow to better follow the guidelines.
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update tests/components/poolsense/test_config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Removed uneccessary functions.
* Added local venv to gitignore
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update to strings to allow for translations. Also some coding convention updates.
* Removed space in icon return
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Removed space in icon return
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Removed space in icon return
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/poolsense/strings.json
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Updated to include some error checks for pypi package
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/components/poolsense/test_config_flow.py
* Update homeassistant/components/poolsense/sensor.py
* Apply suggestions from code review
* Update homeassistant/components/poolsense/__init__.py
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update homeassistant/components/poolsense/sensor.py
* Apply suggestions from code review
* Update homeassistant/components/poolsense/__init__.py
* Update homeassistant/components/poolsense/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-07-01 00:44:10 -05:00