Santobert
7ed659151c
Vacuum reproduce state ( #27868 )
...
* Vacuum reproduce state
* Add missing states
* Improved process
* Fix tests
2019-10-18 19:49:08 -07:00
Ville Skyttä
761d7f21e9
Upgrade pylint ( #27279 )
...
* Upgrade pylint to 2.4.2 and astroid to 2.3.1
https://pylint.readthedocs.io/en/latest/whatsnew/2.4.html
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-1
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-2
* unnecessary-comprehension fixes
* invalid-name fixes
* self-assigning-variable fixes
* Re-enable not-an-iterable
* used-before-assignment fix
* invalid-overridden-method fixes
* undefined-variable __class__ workarounds
https://github.com/PyCQA/pylint/issues/3090
* no-member false positive disabling
* Remove some no longer needed disables
* using-constant-test fix
* Disable import-outside-toplevel for now
* Disable some apparent no-value-for-parameter false positives
* invalid-overridden-method false positive disables
https://github.com/PyCQA/pylint/issues/3150
* Fix unintentional Entity.force_update override in AfterShipSensor
2019-10-07 08:17:39 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Paulus Schoutsen
6f357cb23e
First pass fixing tests that raise exceptions caught by asyncio.gather ( #25860 )
...
* First pass fixing tests that raise exceptions caught by asyncio.gather
* Fix demo test
* lint
2019-08-12 16:42:12 +02:00
Ville Skyttä
b738082dad
Type check various base components ( #25878 )
...
* Type check various component base classes, disabling bunch of checks for now
* Type hint fixes
* Help mypy out some
* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Aaron Bach
9e36448f03
Add area support to vacuum service schemas ( #25443 )
...
* Add area support to vacuum service schemas
* Fixed tests
* De-couple platform schemas
2019-07-24 08:29:08 +02:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Penny Wood
f195ecca4b
Consolidate all platforms that have tests ( #22109 )
...
* Moved climate components with tests into platform dirs.
* Updated tests from climate component.
* Moved binary_sensor components with tests into platform dirs.
* Updated tests from binary_sensor component.
* Moved calendar components with tests into platform dirs.
* Updated tests from calendar component.
* Moved camera components with tests into platform dirs.
* Updated tests from camera component.
* Moved cover components with tests into platform dirs.
* Updated tests from cover component.
* Moved device_tracker components with tests into platform dirs.
* Updated tests from device_tracker component.
* Moved fan components with tests into platform dirs.
* Updated tests from fan component.
* Moved geo_location components with tests into platform dirs.
* Updated tests from geo_location component.
* Moved image_processing components with tests into platform dirs.
* Updated tests from image_processing component.
* Moved light components with tests into platform dirs.
* Updated tests from light component.
* Moved lock components with tests into platform dirs.
* Moved media_player components with tests into platform dirs.
* Updated tests from media_player component.
* Moved scene components with tests into platform dirs.
* Moved sensor components with tests into platform dirs.
* Updated tests from sensor component.
* Moved switch components with tests into platform dirs.
* Updated tests from sensor component.
* Moved vacuum components with tests into platform dirs.
* Updated tests from vacuum component.
* Moved weather components with tests into platform dirs.
* Fixed __init__.py files
* Fixes for stuff moved as part of this branch.
* Fix stuff needed to merge with balloob's branch.
* Formatting issues.
* Missing __init__.py files.
* Fix-ups
* Fixup
* Regenerated requirements.
* Linting errors fixed.
* Fixed more broken tests.
* Missing init files.
* Fix broken tests.
* More broken tests
* There seems to be a thread race condition.
I suspect the logger stuff is running in another thread, which means waiting until the aio loop is done is missing the log messages.
Used sleep instead because that allows the logger thread to run. I think the api_streams sensor might not be thread safe.
* Disabled tests, will remove sensor in #22147
* Updated coverage and codeowners.
2019-03-18 23:07:39 -07:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00
Jérôme W
a8a2daeac5
Add custom and zone cleaning to Neato Vacuums ( #20779 )
...
* Adding custom and zone cleaning to Neato Vacuums
* Fixing line length and missing imports
* Line too long
* Adding details to the custom service
* Fix linting issues
* Reverting ACTION
* Code cleanup
* Typo
* Requested modifications
* Changing the custom service domain
* No service schema depency anymore
* Removing useless code
* Linting
* Requested changes
* Requested changes for domain
* Revert the service domain back to vacuum
2019-02-23 15:55:55 -06:00
Marco Gazzola
5115dfada2
Add zone and reps for Xiaomi vacuum ( #19777 )
...
* xiaomi vacuum with zone and reps
* tail whitespace
* tail whitespaces
* new version
* fix params typs
* fix param type
* line length
* rytilahti tips
* houndci-bot
* fix trevis
* rytilahti tips
* service description
* syssi fix
* MartinHjelmare tips
* MartinHjelmare
* data_template schema
* line lenght
* line lenght
* line lenght
* data_template schema
* fix
* Update homeassistant/components/vacuum/xiaomi_miio.py
Co-Authored-By: marcogazzola <dev@marcogazzola.com>
* Update homeassistant/components/vacuum/xiaomi_miio.py
Co-Authored-By: marcogazzola <dev@marcogazzola.com>
* xiaomi vacuum with zone and reps
* tail whitespace
* new version
* fix param type
* rytilahti tips
* rytilahti tips
* MartinHjelmare
* data_template schema
* line lenght
* line lenght
* data_template schema
* fix
* Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev
* Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev"
This reverts commit e1f370b3b45d2541c8117146b0940d7c2b5bc8b0.
* log fixed
* Revert "log fixed"
This reverts commit 1f0e7b35e8
.
* Revert "Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev""
This reverts commit 1cf9e5ae1f
.
* Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev"
This reverts commit 0e8d53449a
.
* log fixed
2019-02-20 15:44:04 +01:00
emontnemery
b1faad0a50
Use PLATFORM_SCHEMA_BASE as base schema for additional components. ( #20578 )
...
* Disable extra=vol.ALLOW_EXTRA for additional platforms.
* Remove PLATFORM_SCHEMA_2
* Add entity_namespace to base platform schema
2019-02-04 21:52:19 -08:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00
emontnemery
5b53bd6aa0
Move MQTT platforms under the component ( #20050 )
...
* Move MQTT platforms under the component
2019-01-15 17:31:06 +01:00
Paulus Schoutsen
82c6d3d8c2
Add support for spot cleaning that was introduced in pybotvac 0.12 ( #19857 )
...
* Added support for spot cleaning that was introduced in pybotvac 0.12.
* Corrected formating.
* Added missing operator.
2019-01-11 09:52:06 -08:00
Daniel Shokouhi
6403a13ea3
Fix botvac connected alert retrieval
2019-01-10 13:56:10 -08:00
Lars Lydersen
42821b5f64
Added missing operator.
2019-01-08 21:12:35 +01:00
Lars Lydersen
c164533404
Corrected formating.
2019-01-08 20:36:57 +01:00
Lars Lydersen
8aa136f7ed
Added support for spot cleaning that was introduced in pybotvac 0.12.
2019-01-07 20:03:22 +01:00
Tommy Jonsson
5b35317e1e
[3/3] mqtt-vacuum device-registry ( #19479 )
...
* add device registry to mqtt-vacuum
2019-01-06 19:23:33 +01:00
Tommy Jonsson
ccbc231d3a
[2/3] vacuum mqtt-discovery ( #19478 )
...
* add discoverability to mqtt-vacuum
2019-01-06 17:05:04 +01:00
Tommy Jonsson
dee229152f
[1/3] Refactor mqtt-vacuum in preparation for discovery and device registry ( #19462 )
...
* Refactor mqtt-vacuum in preparation for discovery and device registry
2019-01-06 14:16:46 +01:00
Daniel Shokouhi
d05450487c
Improve how neato displays alerts and add alerts for persistent maps ( #19593 )
...
* Improve how neato displays alerts and add alerts for persistent maps
* Review comments
2018-12-27 09:57:38 -08:00
Paulus Schoutsen
8ea0a8d40b
RFC: Deprecate auto target all for services and introduce entity_id: * ( #19006 )
...
* Deprecate auto target all
* Match on word 'all'
2018-12-13 10:07:59 +01:00
Teemu R
bc69309b46
Add last clean times to xiaomi vacuum ( #19043 )
2018-12-05 18:20:26 +01:00
Teemu R
da0542e961
Bump python-miio to 0.4.4 ( #19042 )
2018-12-05 18:19:30 +01:00
Sebastian Muszynski
df3d82e0e3
Use async_add_executor_job at the xiaomi_miio platforms ( #18294 )
2018-11-07 09:03:35 +01:00
Sebastian Muszynski
c75c00d568
Bump python-miio version ( #18095 )
2018-11-01 17:53:48 +01:00
Jeroen ter Heerdt
3f4798b5c3
MQTT Vacuum now passes error messages. ( #17685 )
...
* MQTT Vacuum now passes error messages.
* Fixing pylint error
* Use string formatting
2018-10-26 11:07:39 +02:00
Fabian Affolter
577cf0991f
Remove username from log entry ( #17777 )
2018-10-25 09:43:40 +02:00
Daniel Shokouhi
ab826b8fe2
Use cached robot serial for Neato update ( #17633 )
...
* Use cached robot serial for neato update
* Hound
2018-10-20 14:28:30 +02:00
Daniel Shokouhi
d3672f36fb
Add unique_id for Neato ( #17369 )
...
* Add unique_id for Neato
* Only send the serial per review comments
2018-10-13 00:33:13 +02:00
Daniel Shokouhi
1c23a36f46
Set botvac availability ( #17350 )
...
* Set botvac availability
* Lint
* Reduce availability calls per review comments
2018-10-12 08:40:45 +02:00
Fabian Affolter
8d9da4e7b9
Upgrade construct to 2.9.45 ( #16362 )
2018-10-10 23:52:45 +02:00
Teemu R
78c38749ab
Xiaomi Vacuum: keep error state active after erroring ( #16562 )
...
* Check for got_error to keep consistent error reporting
* reword a comment
2018-10-10 12:16:32 +02:00
Teemu R
56a43436d7
Bump python-miio requirement ( #17260 )
2018-10-08 22:33:06 +02:00
SNoof85
90f2990b9e
Support code 7 ( #17047 )
2018-10-01 22:18:56 +02:00
cdce8p
121dba659c
Async syntax 7, switch & tts & vacuum ( #17021 )
2018-10-01 08:55:00 +02:00
cdce8p
dd45e99302
Remove service helper (4) ( #16892 )
...
* Update media_player
* Update lock
* Update notify
* Update remote
* Update scene
* Update vacuum
* Remove timer helpers
* Removed unused legacy helpers
2018-09-26 18:02:05 +02:00
Daniel Shokouhi
e90abf1007
Set botvac state when offline ( #16805 )
2018-09-23 12:35:18 +02:00
Greg Laabs
eca1f050cd
Bump sucks (Ecovacs) lib to 0.9.3 ( #16803 )
...
* Bump sucks (Ecovacs) lib to 0.9.3
Changed code that was in place as a workaround pre-0.9.2. This version bump fixes a few issues.
* Update requirements_all
2018-09-23 09:43:01 +02:00
Daniel Shokouhi
eec6722cf4
Fix return to base logic for neato ( #16776 )
2018-09-22 11:34:46 +02:00
Greg Laabs
72419a1afe
Fix Ecovacs vacuums showing "None" for name ( #16654 )
...
Was previously checking for a missing key, when should have been checking for the value being None
2018-09-18 08:30:20 +02:00
Fabian Affolter
fea1c921fc
Fix link to docs ( #16652 )
2018-09-17 07:45:01 +02:00
Varga Tamas
93143384a8
Restore status attribute for xiaomi_vacuum ( #16366 )
...
* Added new states and exposed state/state code received from xiaomi vacuum
* Restore status attribute for xiaomi_vacuum
2018-09-08 18:13:24 +02:00