Nate Clark
8ce2d701c2
fix bug where momentary switch with activation low does not reset ( #16603 )
2018-09-14 13:31:41 -06: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
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Nate Clark
c7f7912bca
adds support for momentary and beep/blink switches ( #15973 )
2018-08-14 21:15:33 +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