Commit graph

25 commits

Author SHA1 Message Date
Ville Skyttä
4bd7a7eee3 Remove inline pylint disables for messages disabled in pylintrc () 2018-06-16 00:15:46 +02:00
Paulus Schoutsen
5779d64e98 Fix some issues for PyLint 1.7.2 ()
* Fix some issues for PyLint 1.7.2

* More fixes

* Revert position change for cover
2017-07-05 20:02:16 -07:00
Fabian Affolter
a4f1f6e724 Update docstrings ()
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstring

* Update docstrings

* Update docstrings

* Fix lint issues

* Update docstrings

* Revert changes in dict
2017-05-02 09:18:47 -07:00
Paulus Schoutsen
f006b00dc1 Fix spelling schedule_update_ha_state () 2016-11-16 08:26:29 -08:00
Pascal Vizeli
41aaeb715a Convert switch to AsnycIO ()
* Convert switch to AsnycIO

* Move update entity to service

* use time better for faster handling

* Change to suggestion from paulus

* Use new shedule_update_ha_state

* fix lint

* minimize executor calls
2016-11-15 21:06:50 -08:00
Fabian Affolter
04d31e4ef4 Use voluptuous for RPi GPIO ()
* Migrate to voluptuous

* Remove the check for lists
2016-09-17 23:28:37 -07:00
Daniel Zozin
027266ed8b Fix initialization state for GPIO switches configured with inverted logic ()
When switches are configured to use inverted logic, the GPIO pins initial
state has to be inverted as well (set to HIGH)
2016-07-17 15:18:16 -07:00
Fabian Affolter
49ebc6d0b0 Fix PEP257 issues 2016-03-08 13:35:39 +01:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
sfam
7c925ac295 update comments 2016-01-15 16:53:46 +00:00
sfam
8617b92d1b Update RPi.GPIO version and code refactoring 2016-01-15 16:53:45 +00:00
Fabian Affolter
97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Fabian Affolter
7801489149 Remove configuration details 2015-10-21 23:05:54 +02:00
Fabian Affolter
78a555faf5 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:39:16 +02:00
Ryan Kraus
893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
sfam
9811869111 fix line too long 2015-08-26 11:27:27 +01:00
sfam
6b3b000822 quick fix 2015-08-26 11:22:06 +01:00
sfam
c8b88219b7 rename config parameter to "invert_logic" 2015-08-26 11:03:06 +01:00
sfam
cfc2232c22 fix pylint warnings 2015-08-26 00:02:52 +01:00
sfam
0a9d82fe6f Fix RPi_GPIO switch and add extra parameters 2015-08-25 23:23:51 +01:00
Fabian Affolter
87bf3c4e0d fix a couple of typos and use port(s) everywhere 2015-08-08 19:20:53 +02:00
Guillem Barba
91961e629f Resolve pylint errors and warnings 2015-08-06 09:57:16 +02:00
Guillem Barba
e6b4dba330 Remove usless comments 2015-08-06 09:57:16 +02:00
Guillem Barba
d6c7bf5ac8 Remove usless DEMO constant. Add version information in RPi.GPIO requirement 2015-08-06 09:57:16 +02:00
Guillem Barba
e97e73e66e Add rpi_gpio platform to switch 2015-08-06 09:57:16 +02:00