Commit Graph

7 Commits (7e3841e172617954a25977fdc98e2e7d95135fe4)

Author SHA1 Message Date
springstan b4fda5faab Move imports to top for mysensors () 2019-12-05 19:54:43 +01:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Martin Hjelmare 937688f7a6 Add mysensors state update delay ()
* Add mysensors state update delay

* Schedule state update after delay to avoid updating state multiple
  times during the same short timespan.

* Code review
2019-01-11 13:06:06 -08:00
Antoine Meillet e75f9b36f9 add heartbeat support to mysensors () 2018-11-10 21:08:03 +01:00
Martin Hjelmare 9a6c229b1d
Refactor mysensors message handling ()
* Refactor mysensors message handling

* Add handler module and register handlers per message type or message
  sub-type. This will allow easier extension of message handling in the
  future.
* Move some common functions to a helpers module.

* Add node handler and signal

* Fix inconsistent return

* Upgrade pymysensors to 0.18.0

* Fix bug in message modification.
2018-11-04 21:08:27 +01:00
Ville Skyttä 2f7b79764a More pylint 2 fixes ()
## Description:

More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).

## Checklist:
  - [ ] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Martin Hjelmare 3893d8a876 Reorganize mysensors ()
* Move mysensors.py to package

* Move mysensors component to package

* Split code into multiple modules.

* Update coveragerc
2018-06-25 13:58:16 +02:00