Franck Nijhof
f17a5f0db9
Clean up redudant exceptions from handlers ( #51741 )
2021-06-11 13:29:50 +02:00
javicalle
668d018e9c
Make Rflink handle set_level command for dimmable devices ( #46499 )
...
* Added handle_event for set_level command in dimmable devices
* refactor common code for dimmable devices
* Force tests
Silly change to force tests execution
* fix super()
* add rflink dim utils
2021-03-21 08:43:38 +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
javicalle
c8950870a2
Propagate RFLink 'send_command' event ( #43588 )
...
* propagate send_command event
* propagate send_command event
2021-03-18 12:25:00 +01:00
Christophe Painchaud
a1faba29f0
Fix RFLink TCP KeepAlive error log ( #47395 )
2021-03-05 01:09:54 +01:00
tkdrob
ae45d7dade
Use core constants for rflink ( #46440 )
2021-02-12 23:32:56 +01:00
Christophe Painchaud
c3b460920e
Enable TCP KEEPALIVE to RFLink for dead connection detection ( #46438 )
...
RFLink compoment when used over TCP protocol suffers a major issue : it doesn't
know when connection is timeout or lost because there is no keepalive mechanism
so it can stay disconnected forever.
I wrote a small patch for the underlying 'python-rflink' library which will enable
TCP KEEPPAlive. On HASSIO side it will just add an optional argument in yml file
which will propagate to python-rflink caller.
2021-02-12 15:58:59 +01:00
Ville Skyttä
1c8fbc7e6a
Upgrade codespell to 2.0.0 ( #44695 )
...
* Upgrade codespell to 2.0.0
* Fix newly found spelling errors
2020-12-31 19:14:07 +01:00
Paulus Schoutsen
8f9467492d
Remove some passings of loop ( #34995 )
2020-04-30 21:34:51 -07:00
springstan
46bbe816f6
Remove None from dict.get(key, None) ( #33794 )
2020-04-07 21:06:05 +02:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ( #33513 )
...
* Directly call async_write_ha_state pt2
* Directly call async_write_ha_state pt2
* Fix mock
* Address comments
2020-04-03 09:34:50 +02: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
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Ville Skyttä
d6f317c0a9
Remove deprecated rflink configs ( #29972 )
...
They've been deprecated and automatically replaced since July 2017
already, fe6a4b8ae5
2019-12-15 22:57:23 +02:00
javicalle
dd8fc41747
Move imports in rflink component ( #27367 )
...
* Move imports in rflink component
* import order
* import order
* Update __init__.py
* Update __init__.py
I don't understand why tests are failing...
* Fix RFLink imports
* Fix monkeypatch for 'create_rflink_connection'
* isort for rflink classes
2019-10-13 22:19:11 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
javicalle
13421b326b
Fix RFLink restore state ( #20588 )
...
* some minor tests refactor
* unused import
* async/await refactor
* Correct tests failures
* Restore state bug
added call to super().async_added_to_hass()
* Show brightness attribute if device supports it
* Fix light/test_rflink
Dimmable devices defaults to 255 brightness
* delete super().device_state_attributes call
2019-02-10 12:50:40 +01:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00