6419950283
* 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> |
||
---|---|---|
.. | ||
translations | ||
__init__.py | ||
aurora_device.py | ||
config_flow.py | ||
const.py | ||
manifest.json | ||
sensor.py | ||
strings.json |