Nate Clark
2682d26f79
Konnected component feature updates ( #16479 )
...
* add config option to invert state of binary_sensor
* Add API endpoint to get state of a Konnected switch
2018-09-12 13:54:38 +02:00
Nate Clark
647b3ff0fe
Decouple Konnected entity setup from discovery ( #16146 )
...
* decouple entity setup from discovery
* validate that device_id is a full MAC address
2018-08-24 23:29:25 +02:00
Nate Clark
c7f7912bca
adds support for momentary and beep/blink switches ( #15973 )
2018-08-14 21:15:33 +02:00
Ville Skyttä
2f7b79764a
More pylint 2 fixes ( #15565 )
...
## 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
Ville Skyttä
b92350fb55
Lint cleanup ( #15103 )
...
* Remove unneeded inline pylint disables
* Remove unneeded noqa's
* Use symbol names instead of message ids in inline pylint disables
2018-06-25 13:05:07 -04:00
Nate Clark
d5bbb6ffd2
Add api_host option to Konnected config ( #14896 )
2018-06-10 13:50:25 +02:00
Nate Clark
ed3efc8712
Konnected component follow up ( #14491 )
...
* make device_discovered synchronous
* small fixes from code review
* use dispatcher to update sensor state
* update switch state based on response from the device
* interpolate entity_id into dispatcher signal
* cleanup lint
* change coroutine to callback
2018-05-17 20:19:05 +02:00
Nate Clark
de50d5d9c1
Add Konnected component with support for discovery, binary sensor and switch ( #13670 )
...
* Add Konnected component with support for discovery, binary sensor, and switch
Co-authored-by: Eitan Mosenkis <eitan@mosenkis.net>
* Use more built-in constants from const.py
* Fix switch actuation with low-level trigger
* Quiet logging; Improve schema validation.
* Execute sync request outside of event loop
* Whitespace cleanup
* Cleanup config validation; async device setup
* Update API endpoint for Konnected 2.2.0 changes
* Update async coroutines via @OttoWinter
* Make backwards compatible with Konnected < 2.2.0
* Add constants suggested by @syssi
* Add to CODEOWNERS
* Remove TODO comment
2018-05-15 19:58:00 +02:00