This website requires JavaScript.
Explore
Help
Sign in
evlli
/
hass-core
Watch
1
Star
0
Fork
You've already forked hass-core
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
4b11a632a1
hass-core
/
tests
/
components
/
soma
/
__init__.py
2 lines
36 B
Python
Raw
Normal View
History
Unescape
Escape
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 15:23:08 +03:00
"""
Tests for the Soma component.
"""
Reference in a new issue
Copy permalink