Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Martin Hjelmare
39431c0764
Add required features to cover service registration ( #35073 )
...
* Fix typing in component service method
* Add required features to cover service registration
* Fix template cover tilt features
* Delint template cover tests
2020-05-03 23:21:12 +02:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
HomeAssistant Azure
e13f78dfc5
[ci skip] Translation update
2020-04-28 00:04:52 +00:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
HomeAssistant Azure
5ba0ccd43b
[ci skip] Translation update
2020-04-24 00:04:36 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
Paulus Schoutsen
d560e8245a
Import state strings ( #34451 )
2020-04-20 16:25:35 -07:00
HomeAssistant Azure
6d7fb9f46a
[ci skip] Translation update
2020-04-20 00:04:37 +00:00
HomeAssistant Azure
5007a9e702
[ci skip] Translation update
2020-04-18 00:04:07 +00:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
6119e79023
Migrate frontend translations of domains to backend ( #34294 )
2020-04-16 11:52:27 -07:00
HomeAssistant Azure
ad619817c6
[ci skip] Translation update
2020-04-08 00:08:19 +00:00
springstan
46bbe816f6
Remove None from dict.get(key, None) ( #33794 )
2020-04-07 21:06:05 +02:00
HomeAssistant Azure
f7b822d000
[ci skip] Translation update
2020-04-06 00:02:13 +00:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
HomeAssistant Azure
8a8ee95336
[ci skip] Translation update
2020-04-04 00:07:23 +00:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
HomeAssistant Azure
3e0eaa3c87
[ci skip] Translation update
2020-03-31 00:02:51 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
J. Nick Koston
0148708613
Add DEVICE_CLASS_GATE ( #33074 )
...
Gates are found outside of a structure and are typically part of a fence.
2020-03-21 11:17:06 -07:00
Paulus Schoutsen
397238372e
Remove group as a dependency from entity integrations ( #32870 )
...
* remove group dependency
* Update device sun light trigger
* Add zone dep back to device tracker
2020-03-16 14:47:44 -07:00
HomeAssistant Azure
104350265d
[ci skip] Translation update
2020-03-04 18:13:24 +00:00
HomeAssistant Azure
da959c8f7b
[ci skip] Translation update
2020-03-02 00:31:47 +00:00
HomeAssistant Azure
2d4ee01c1a
[ci skip] Translation update
2020-02-29 00:31:43 +00:00
Erik Montnemery
3b17e570df
Add device actions to cover ( #28064 )
...
* Add device actions to cover
* Remove toggle action, improve tests
* lint
* lint
* Simplify actions
* Update homeassistant/components/cover/device_action.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Improve tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-27 21:05:43 -08:00
HomeAssistant Azure
274cf23269
[ci skip] Translation update
2020-02-07 00:31:50 +00:00
HomeAssistant Azure
74413e07d0
[ci skip] Translation update
2020-01-31 00:31:57 +00:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof
bfa0edaf92
Migrate Integration Quality Scale from docs to manifest: internal ( #30551 )
2020-01-07 20:58:49 +01:00
Paulus Schoutsen
9aa02e35a7
Entity Component to no longer generate automatic groups ( #23789 )
2020-01-07 17:30:53 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
HomeAssistant Azure
d1ed67f44a
[ci skip] Translation update
2020-01-06 00:32:11 +00:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
HomeAssistant Azure
5d8dda4f68
[ci skip] Translation update
2019-12-29 00:32:14 +00:00
HomeAssistant Azure
bb35d93fde
[ci skip] Translation update
2019-12-25 00:32:06 +00:00
HomeAssistant Azure
ad8278c078
[ci skip] Translation update
2019-12-17 00:32:23 +00:00
HomeAssistant Azure
12f273eb11
[ci skip] Translation update
2019-12-10 00:32:16 +00:00
Bas Nijholt
a3b605bb7d
use isort to sort imports according to PEP8 for cover ( #29629 )
2019-12-08 22:28:00 +05:30
Paulus Schoutsen
32e04e1dce
Lint
2019-12-02 22:08:19 -08:00
Paulus Schoutsen
02d9ed5e36
Do not select all entities when omitting entity ID in service call ( #29178 )
...
* Do not select all entities when omitting entity ID
* Address comments Matthew
* Require either area_id or entity_id
* Fix tests
* Fix test
2019-12-02 16:23:12 -08:00
Paulus Schoutsen
d1aa0cea97
Move intent registration to own integration ( #29280 )
...
* Move intent registration to own integration.
* Lint
2019-12-01 14:12:57 -08:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
HomeAssistant Azure
08d662c0a5
[ci skip] Translation update
2019-11-14 00:32:16 +00:00
HomeAssistant Azure
d2d9f09f13
[ci skip] Translation update
2019-11-13 00:32:12 +00:00
HomeAssistant Azure
0ac8b297cd
[ci skip] Translation update
2019-11-11 00:32:13 +00:00
HomeAssistant Azure
265c390b65
[ci skip] Translation update
2019-11-07 00:32:16 +00:00
HomeAssistant Azure
f71527d5db
[ci skip] Translation update
2019-11-03 00:31:44 +00:00
HomeAssistant Azure
4863face69
[ci skip] Translation update
2019-11-02 00:31:48 +00:00
HomeAssistant Azure
bb6a617a6f
[ci skip] Translation update
2019-11-01 00:32:13 +00:00
HomeAssistant Azure
ee24710524
[ci skip] Translation update
2019-10-31 00:32:14 +00:00
Erik Montnemery
8ae43d2de3
Add device triggers to cover ( #28063 )
...
* Add device triggers to cover
* Use numeric_state trigger instead of template trigger
* Tweak translations
2019-10-30 20:49:01 +01:00
HomeAssistant Azure
e700384cce
[ci skip] Translation update
2019-10-30 00:32:11 +00:00
HomeAssistant Azure
0e4331e922
[ci skip] Translation update
2019-10-29 00:32:16 +00:00
HomeAssistant Azure
72dee7dd21
[ci skip] Translation update
2019-10-28 00:32:16 +00:00
HomeAssistant Azure
868f88a4e0
[ci skip] Translation update
2019-10-27 00:32:10 +00:00
HomeAssistant Azure
7096826d1d
[ci skip] Translation update
2019-10-26 00:32:20 +00:00
Erik Montnemery
7fee44b8c5
Add additional device conditions to cover ( #27830 )
...
* Add additional device conditions to cover
* Add default value
* Add test
* Use numeric_state condition instead of template condition
2019-10-25 13:50:46 -07:00
Paulus Schoutsen
23289459ca
Update translations
2019-10-23 13:36:38 -07:00
HomeAssistant Azure
ff3c0e5697
[ci skip] Translation update
2019-10-21 00:32:17 +00:00
HomeAssistant Azure
2c00ff7e52
[ci skip] Translation update
2019-10-20 00:32:18 +00:00
Santobert
5fa4632c12
Add improved scene support to the cover integration ( #27914 )
2019-10-19 11:39:31 -07:00
Ville Skyttä
381d423fec
Upgrade mypy to 0.740 ( #27913 )
...
* Upgrade mypy to 0.740
http://mypy-lang.blogspot.com/2019/10/mypy-0740-released.html
* Type hint additions
* Type fixes
* Remove no longer needed type ignores and casts
* Disable untyped definition checks in bunch of files
2019-10-19 11:35:57 -07:00
HomeAssistant Azure
9e8c391c81
[ci skip] Translation update
2019-10-19 00:32:15 +00:00
HomeAssistant Azure
b8e00925e7
[ci skip] Translation update
2019-10-16 00:32:17 +00:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00:00
HomeAssistant Azure
b37f0ad812
[ci skip] Translation update
2019-10-14 00:32:27 +00:00
HomeAssistant Azure
62b886a5d5
[ci skip] Translation update
2019-10-13 00:31:39 +00:00
Moritz Fey
96c0ad302f
add device conditions for platform cover ( #27544 )
...
* add device condition support to the cover integration
* remove TODO comment
* add strings.json
2019-10-12 13:08:45 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Ville Skyttä
54242cd65c
Type hint additions ( #26765 )
2019-09-20 08:23:34 -07: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
e6445a602b
Add area support to cover service schemas ( #25408 )
...
* Add area support to cover service schemas
* Linting
2019-07-23 11:05:53 -06:00
kbickar
7564d1fb52
Added toggle service to covers ( #23198 )
...
* Added toggle service to cover
* Added toggle tilt service and tilt closed property
* Added is_tilt_closed so tilt can be toggled
* Added toggle services
* Added toggle tilt service
* Removed spaces
* Added tests for tilt services
* Updated tests
* Added range conversion in comparison
* Added tests to cover broken areas
* Fixed open/close tilt values and added toggle function
* Added default toggle behavior using tilt_position of 0, reverted other changes
* blank space
* Added constants and swapped assert comparisons
* Fixed attribute name
* Added mqtt responses in test
* Added constants
* Space
* Fix tilt_optimistic flag being ignored if status topic set
* Added more tests
* Changed async toggle call
* Updated group tilt test
* Updated format of asserts
* Updated states calls
* Updated function variables
* merge fixes
* Added blank line
* Changed calls to async
* More async updates
2019-06-17 14:09:31 -07:00
Andre Richter
6cc1bf37cc
components/cover: Typo in docstring. ( #24329 )
2019-06-05 19:34:09 -05: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
cdce8p
8bebd8583f
Fix manifest codeowners ( #22871 )
...
* Added individual files section
* Replaced some manifest/codeowners
2019-04-07 21:01:05 -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
Andrew Sayre
d3f1ee4a89
Add SmartThings Cover platform and add cover device classes ( #21192 )
...
* Add additional device classes to Cover component; Add SmartThings cover platform; Improve lock test coverage
* Enhance cover platform to support position and battery level reporting.
* Add additional classes
* Removed device class descriptions
* Updates based on review feedback
* Add test case for closed
2019-02-25 10:13:34 -08:00
Paulus Schoutsen
f3b20d138e
Embed Z-Wave platforms ( #20810 )
2019-02-07 22:50:59 +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
Erik Hendrix
3880a70965
Update version for pymyq to 1.1.0
...
Update version of pymyq to 1.1.0; this version brings improved functionality, reducing errors for retrieving current state for the MyQ covers.
2019-02-04 16:48:35 -07: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
Paulus Schoutsen
ec57db78b5
Consolidate config flow components ( #20635 )
...
* Consolidate config flow components
* Fix tests
* Fix tests
* Put unifi back
* Fix reqs
* Update coveragerc
2019-02-01 15:45:44 -08:00
Julius Mittenzwei
74794102c8
Support for new velux api, added cover.velux ( #18738 )
...
* Support for new velux api, added cover.velux
* More steps on new velux covers.
* correct position handling of velux windows
* Following suggestion from hound.
* bumped version
* added cover stop
* bumped version of pyvlx
* Bumped version to 0.2.8
* removed log_frames parameter
2019-02-01 02:13:47 +01:00
Jc2k
cea2bf94bd
Move homekit_controller entity types under homekit_controller platform ( #20376 )
...
* Move homekit_controller entity types under homekit_controller platform
* Update coveragerc as homekit_controller moved
2019-01-25 07:43:01 -08:00
Daniel Høyer Iversen
1bd31e3459
Change STATE_UNKOWN to None ( #20337 )
...
* Change STATE_UNKOWN to None
* Change STATE_UNKOWN to None
* tests
* tests
* tests
* tests
* tests
* style
* fix comments
* fix comments
* update fan test
2019-01-24 08:20:20 +01:00
Mattias Welponer
89ba374d51
HomematicIP add cover FROLL and BROLL devices ( #19794 )
...
* Add cover FROLL and BROLL devices
* Fix import
* Fix async calls
* Update cover functions and async fixes
* Update test
* Cleanup code
* Update header
* Merge imports
* Update
* Remove init
* Update coveragerc file
* Update coveragerc
2019-01-22 09:22:45 +01:00
Johann Kellerman
6511e11ec9
Config Validator: schema_with_slug_keys ( #20298 )
...
* schema_with_slug_keys
* Update config_validation.py
* Update config_validation.py
2019-01-21 16:36:04 -08:00
Robert Svensson
a3f0d55737
Change deCONZ to embedded platforms ( #20113 )
...
Move all platforms into components/deconz
2019-01-15 19:29:56 +01:00
emontnemery
5b53bd6aa0
Move MQTT platforms under the component ( #20050 )
...
* Move MQTT platforms under the component
2019-01-15 17:31:06 +01:00
Otto Winter
f225570980
Move ESPHome Source Files ( #20092 )
...
* Move ESPHome source files
* Update .coveragerc
* Update CODEOWNERS
2019-01-14 09:00:48 -07:00
Austin Drummond
3b83a64f7c
Add support for HomeKit Controller covers ( #19866 )
...
* Added support for HomeKit Controller covers
* removed copied code
* more linting fixes
* added device type to service info
* added checks for value in characteristics
* added state stopped parsing
* removed logger
* removed unused args
* fixed inits
* removed unused imports
* fixed lint issues
* fixed lint issues
* remove state_unknown
* remove validation of kwargs in homekit controller covers
* guarantee tilt position is not none before setting
2019-01-13 19:09:47 +01:00
Otto Winter
2339cb05ad
Fix errors in ESPHome integration ( #20048 )
...
* Fix Home Assistant State Import
* Fix cover state
* Fix fan supported features
* Fix typo
2019-01-13 15:52:23 +01:00
pbalogh77
7dac7b9e5e
Support for multiple Fibaro gateways ( #19705 )
...
* Preparing for transition to config flow
Added multiple gateway support
Reworked parameter flow to platforms to enable multiple controllers
Breaking change to config, now a list of gateways is expected instead of a single config
* Updated coveragerc
Added new location of fibaro component
* Fixes based on code review and extended logging
Addressed issues raised by code review
Added extended debug logging to get better reports from users if the device type mapping is not perfect
* Changhes based on code review
Changes to how configuration is read and schemas
Fix to device type mapping logic
* simplified reading config
* oops
oops
* grr
grr
* change based on code review
* changes based on code review
changes based on code review
2019-01-11 15:29:54 -08:00
emontnemery
1a5fe3d880
Cleanup if discovered mqtt cover can't be added ( #19743 )
...
* Cleanup if discovered mqtt cover can't be added
2019-01-08 16:48:42 +01:00
Sebastian Muszynski
8b232e7ce6
Simplify data_key for a stable unique_id because the order of the dict will not be preserved ( Closes : #13522 ) ( #19766 )
2019-01-07 13:36:16 +01:00
emontnemery
1568de62df
Correct calls to subscription.async_unsubscribe_topics ( #19414 )
...
* Correct calls to subscription.async_unsubscribe_topics
* Review comments
* Add testcases
2018-12-19 14:05:24 +01:00
Otto Winter
a1fb6ae38f
Add native ESPHome API cover ( #19373 )
...
* Add esphomelib native API cover
* Update
* 🚑 Lint
2018-12-17 20:44:47 +01: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
javicalle
61ca9bb8e4
Restore states for RFLink devices ( #18816 )
...
* Merge branch 'master' of https://github.com/home-assistant/home-assistant into dev
# Conflicts:
# homeassistant/components/binary_sensor/point.py
# homeassistant/components/cloud/__init__.py
# homeassistant/components/cloud/prefs.py
# homeassistant/components/frontend/__init__.py
# homeassistant/components/light/fibaro.py
# homeassistant/components/logbook.py
# homeassistant/components/point/__init__.py
# homeassistant/config_entries.py
# homeassistant/const.py
# homeassistant/helpers/service.py
# requirements_all.txt
# requirements_test_all.txt
* one 'async_get_last_state' refactor left behind
* Remove RestoreEntity inheritance (already in parent class)
* # pylint: disable=too-many-ancestors
* code predictor can be a bitch
* lint corrections
* # pylint: disable=too-many-ancestors
* recover from dict[key]
* Remove all 'coroutine' decorator, replace for 'async def'
Replace all 'yield from' for 'await'
Replace 'hass.async_add_job' for 'hass.async_create_task'
2018-12-11 17:20:30 +01:00
Fredrik Erlandsson
92e19f6001
TelldusLive config flow ( #18758 )
...
* update TelldusLive to use config flow
* fixes from Martin
* Update homeassistant/components/tellduslive/config_flow.py
Co-Authored-By: fredrike <fredrik.e@gmail.com>
* revert changes in entry.py
* tox tests
* tox fixes
* woof woof (fix for hound)
* lint ignore
* unload entry
* coverall toxtests
* fix some toxtests
2018-12-10 18:44:45 +01:00
Fredrik Erlandsson
d6a4e106a9
Tellduslive refactoring ( #18780 )
...
* move component to a package
* move TelldusLiveEntry to separate file
* refactor
* move entities from a shared container
* using the dispatch helper instead for communication between component and platforms
* updated covereagerc and codeowners
* suggestions from MartinHjelmare
* don't make update async
* "Strip is good!"
2018-12-04 10:08:40 +01:00
emontnemery
db4a0e3244
Small refactoring of MQTT cover ( #18850 )
2018-12-02 10:27:50 +01:00
Adam Mills
5c3a4e3d10
Restore states through a JSON store instead of recorder ( #17270 )
...
* Restore states through a JSON store
* Accept entity_id directly in restore state helper
* Keep states stored between runs for a limited time
* Remove warning
2018-11-28 13:16:43 +01:00
emontnemery
6170065a2c
Reconfigure MQTT cover component if discovery info is changed ( #18175 )
...
* Reconfigure MQTT cover component if discovery info is changed
* Do not pass hass to MqttCover constructor
2018-11-27 11:22:26 +01:00
Pawel
92c0f9e4aa
Fix mqtt cover inverted ( #18456 )
...
* Fixed state and position retrieval in inverted mode 100-0
* Always calculating find_percentage_in_range
* Added usage of max/min functions.
2018-11-21 15:48:44 +01:00
pbalogh77
3b53003795
Fibaro components ( #18487 )
...
* Added Fibaro omcponents
Added cover, light, sensor and switch components
* Improvements based on code review
Improvements based on code review
* Fixes based on code review
Fixes based on code review
* Changes to light behavior based on code review
Changes to light behavior based on code review
* Internal changes
Changed how brightness is represented internally.
It should have no impact on functionality.
2018-11-21 06:15:54 +01:00
Aaron Bach
8f59be2059
Make MyQ platform async ( #18489 )
...
* Make MyQ platform async
* Bumped requirements
* Member comments
* Member updates
2018-11-18 18:37:03 +01:00
Pawel
d0463942be
Changed checking of cover state closed from 0 to closed_position variable. ( #18407 )
...
Change error message to avoid expression "get_position_topic".
2018-11-12 19:45:59 +00:00
Robert Svensson
dcdae325ea
deCONZ - reflect hub status on entities ( #18106 )
...
* Support for controlling entity available attribute based on gateways availability
* Fix string not being in imperative mood
2018-11-05 16:21:44 +01:00
Pawel
c3e3f662f4
Always save current position if payload is numeric value ( #16148 )
...
* Change of behaviour. Allow user to configure either a position topic or a state topic but not
both.
* optimistic mode in set_cover and tests added
* optimistic mode in set_cover_position using percentage_position
* fixes accroding to Martin review.
* added validation schema for set_position_topic and get_position_topic
* check only set_position_topic in supported_features.
* Multidoc string fix.
2018-11-01 20:09:43 +01:00
Robert Svensson
a9140dc8f5
deCONZ - retry if setup fails ( #17772 )
...
* Make component retry if setup fails
* Improve overall test coverage
2018-10-31 22:38:04 +01:00
Ville Skyttä
43048962f2
Upgrade flake8 to 3.6.0 ( #17770 )
...
* Upgrade flake8 to 3.6.0
* flake8/pylint comment tweaks
* flake8 F841 fixes
* flake8 W605 fix
* Ignore pyflakes bug #373 false positives
https://github.com/PyCQA/pyflakes/issues/373
* pycodestyle bug #811 workaround
https://github.com/PyCQA/pycodestyle/issues/811
2018-10-25 23:15:20 +03:00
guillaume1410
c03b137130
Removing ryobi gdo ( #17637 )
2018-10-21 08:08:35 +02:00
Robert Svensson
26b7c2de7e
deCONZ - Add support for Xiaomi window covers ( #17337 )
...
Add support for Xiaomi window covers
2018-10-20 15:13:23 +02:00
Charles Garwood
9c52a3ce22
Z-Wave Device Registry Support ( #17291 )
...
* Add device_registry support for sensor and switch domains
* Add device_registry support for light
* Add device registry to binary_sensor, climate, cover
* Add device registry to zwave fan
* Fix test for config entry loading
* lint
* revert erroneous modification
* Revert device_registry.py change
2018-10-16 14:58:25 +02:00
emontnemery
2ceb4d2d1e
Refactor RFLink component ( #17402 )
...
* Start refactor of RFLink component
* alias _id not added correctly
Aliases for sensor not added correctly
And some debug traces.
* Update rflink.py
* Cleanup, fix review comments
* Call event handlers directly when processing initial event
* Use hass.async_create_task when adding discovered device
* Review comments
* Review comments
2018-10-15 15:35:33 +02:00
Paulus Schoutsen
ac79ff9e24
Add context to scripts run by template entities ( #17329 )
2018-10-15 11:38:49 +02:00
Julius Mittenzwei
a71cc67efb
Fix NoEntitySpecifiedError during knx startup ( #17366 )
...
* Potential fix for #13699
* removed uneccessary initialization of hass
* removed hass from signature
2018-10-15 03:29:36 +02:00
Ville Skyttä
707b7c202d
Narrow scope of various pylint inline disables ( #15364 )
...
* Narrow scope of various pylint inline disables
* Whitespace tweaks
2018-10-10 12:17:11 +02:00
Otto Winter
dd55ff87c8
Add device registry to MQTT cover ( #17245 )
...
* Add device registry to MQTT cover
* Fix tests
2018-10-08 16:13:44 +02:00
Matt Schmitt
27f0331f0f
MyQ cover return unknown state if not available ( #17207 )
...
* Add additional supported states
* Use get method for lookup
* Return None if unable to get status
2018-10-08 14:19:23 +02:00
Otto Winter
3ddad83a84
Add unique_id to MQTT cover ( #16950 )
...
* Add unique_id to MQTT cover
* Fix tests
2018-09-29 20:54:57 +02:00
Otto Winter
af89e7c50f
Move more MQTT platforms to config entries ( #16918 )
...
* Move more MQTT platforms to config entries
* Address comments
2018-09-28 16:57:17 +02:00
cdce8p
7eaf8640d0
Update cover tests ( #16832 )
...
* Update test_group
* Update test_command_line
* Update test_demo
* Update test_mqtt
* Update test_template
* Remove cover service call helpers
2018-09-25 22:32:05 +02:00
emontnemery
4501bdb4a0
Remove discovered MQTT cover device when discovery topic is cleared ( #16857 )
2018-09-25 19:32:42 +02:00
Greg Laabs
dc1534c6d1
Fix some unhandled exceptions due to missing null checks ( #16812 )
...
Fixed a couple cases that would produce errors when the ISY node status was None or `-inf`.
2018-09-24 11:43:00 +02:00
huangyupeng
539b86e079
Add Tuya cover state ( #16709 )
...
* add cover open and close state
* add tuya cover state
* fix pylint
* fix pylint problem
2018-09-23 10:36:33 +02:00
Robert Svensson
7fe0d8b2f4
deCONZ cover support ( #16759 )
...
deCONZ cover platform for Keen vents
2018-09-21 19:59:20 +02:00
geekofweek
60dfd68083
MyQ Open State Fix ( #16681 )
...
* MyQ Open State Fix
Fixes issues with MyQ reporting an open state
* Update myq.py
* MyQ STATE_OPEN Fix
remove un-needed code
2018-09-19 22:03:47 +02:00
Ville Skyttä
227a1b919b
More isort preparations ( #16633 )
...
* Adjust config closer to currently established style conventions
* Adjust some imports for better outcome with their comments
2018-09-19 15:40:36 +02:00
Toon Willems
3bd12fcef6
Implement correct state for RFlink cover ( #16304 )
...
* implement correct state for rflink cover
* Fix linting error
* invert logic as local testing pointed out it should be reversed
* add period at the end to satisfy the linter
2018-09-04 11:15:02 +02:00
Tom Harris
d3791fa45d
Add Cover to the Insteon component ( #16215 )
...
* Create cover platform
* Create insteon cover platform
* Bump insteonplm to 0.13.0
* Change async_add_devices to async_add_entities
* Missing doc string
* Simplify open and set_position
* Flake8
* Bump insteonplm to 0.13.1
* Code review changes
* Flake8 updates
2018-08-31 23:56:26 +02:00
Matt Schmitt
fa81385b5c
Add unique ID ( #16323 )
2018-08-31 16:47:37 +02:00
Matt Schmitt
aaa1ebeed5
Add support for discrete states to MyQ cover ( #16251 )
...
* Add discrete states and update dependency
* Add translation dict
2018-08-29 14:33:09 +02:00
Robert Svensson
5341785aae
Revert changes to platforms using self.device ( #16209 )
...
* Revert tank_utility
* Fix Soundtouch
* Fix Plex
* Fix Emby
* Fix Radiotherm
* Fix Juicenet
* Fix Qwikswitch
* Fix Xiaomi miio
* Fix Nest
* Fix Tellduslive
* Fix KNX
2018-08-26 21:25:39 +02:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Eduard van Valkenburg
4ad76d8916
Upgrade brunt package ( #16130 )
...
* Bumped package version to fix a bug with Python before 3.6
* update of package version in requirements_all
2018-08-22 20:12:54 +02:00