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