* Add type hints. * Refactor AuroraDevice to AuroraDeviceEntity * Refactor AuroraDevice to AuroraDeviceEntity * Connection class is defined in manifest. * Separate words with underscore in variable names * Remove duplicated code. * Remove unused "unknown" string * Test import yaml when integration already setup * Remove test already done in config_flow test * Convert variable names to snake case * Shorten AuroraDeviceEntity to AuroraEntity * Add typing * Remove unnecessary integration setup in test. * Refactor "already_setup" to "already_configured" * Use common string * Reduce the amount of code in the try block. * Fix merge * Allow yaml setup to be deferred if no comms * Properly setup all sensors for defered yaml setup. * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Add type hints. * Refactor AuroraDevice to AuroraDeviceEntity * Refactor AuroraDevice to AuroraDeviceEntity * Connection class is defined in manifest. * Separate words with underscore in variable names * Remove duplicated code. * Remove unused "unknown" string * Test import yaml when integration already setup * Remove test already done in config_flow test * Convert variable names to snake case * Shorten AuroraDeviceEntity to AuroraEntity * Add typing * Remove unnecessary integration setup in test. * Refactor "already_setup" to "already_configured" * Use common string * Reduce the amount of code in the try block. * Allow yaml setup to be deferred if no comms * Properly setup all sensors for defered yaml setup. * Code review: move line out of try block. * Improve test coverage Co-authored-by: Martin Hjelmare <marhje52@gmail.com> |
||
---|---|---|
.. | ||
auth | ||
components | ||
generated | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
block_async_io.py | ||
bootstrap.py | ||
config.py | ||
config_entries.py | ||
const.py | ||
core.py | ||
data_entry_flow.py | ||
exceptions.py | ||
loader.py | ||
package_constraints.txt | ||
requirements.py | ||
runner.py | ||
setup.py | ||
strings.json |