home-assistant/homeassistant
Tiit Rätsep 48d07467d9 Add support for SOMA Smartshades devices (#26226)
* Add Soma integration

* Fixed cover position get/set

* Try to list devices before creating config entries to see if Soma Connect can be polled

* Style fixes

* Updated requirements

* Updated .coveragerc to ignore Soma component

* Fixed linter errors

* Implemented stop command

* Test coverage fixes according to feedback

* Fixes to code according to feedback

* Added error logging and tested config from yaml

* Indentation fix

* Removed unnecessary method

* Wrong indentation

* Added some tests

* Added test for import step leading to entry creation

* Added feedback to user form in case of connection error

* Minor fixes according to feedback

* Changed exception type in error handling for connection to Connect

* To keep API consistent for Google Home and Alexa we swapped the open/closed position values back and I reversed them in this integration as well

* regenerated requirements, ran black, addde __init__.py to ignore file

* Added pysoma library to gen_requirements_all.py

* Added missing test case

* removed useless return value
2019-09-30 14:23:08 +02:00
..
auth Upgrade mypy to 0.730, address raised issues (#26959) 2019-09-27 22:57:59 +03:00
components Add support for SOMA Smartshades devices (#26226) 2019-09-30 14:23:08 +02:00
generated Add support for SOMA Smartshades devices (#26226) 2019-09-30 14:23:08 +02:00
helpers Type hint additions (#26831) 2019-09-29 20:07:49 +03:00
scripts Removes unnecessary else/elif blocks (#26884) 2019-09-24 13:53:03 -07:00
util Remove no longer needed Python < 3.6 compatibility code (#27024) 2019-09-27 17:02:48 -07:00
__init__.py
__main__.py Removes unnecessary print_function future import (#26888) 2019-09-24 21:29:57 -07:00
bootstrap.py Deprecate Python 3.6.0 (#26575) 2019-09-11 12:42:54 -06:00
config.py Improve validation of device trigger config (#26910) 2019-09-27 17:48:48 +02:00
config_entries.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
const.py Removes unnecessary utf8 source encoding declarations (#26887) 2019-09-24 21:28:50 -07:00
core.py Type hint additions (#26831) 2019-09-29 20:07:49 +03:00
data_entry_flow.py Type hint additions (#26831) 2019-09-29 20:07:49 +03:00
exceptions.py Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00
loader.py Improve validation of device trigger config (#26910) 2019-09-27 17:48:48 +02:00
monkey_patch.py Black 2019-07-31 12:25:30 -07:00
package_constraints.txt Fix frontend 2019-09-23 14:20:27 -07:00
requirements.py Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00
setup.py Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00