mirror of
https://github.com/home-assistant/core
synced 2024-08-31 05:57:13 +02:00
![Tiit Rätsep](/assets/img/avatar_default.png)
* 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
7 lines
104 B
Python
7 lines
104 B
Python
"""Define constants for the Soma component."""
|
|
|
|
DOMAIN = "soma"
|
|
HOST = "host"
|
|
PORT = "port"
|
|
API = "api"
|