cdce8p and GitHub
990f476ac9
Homekit test cleanup ( #14416 )
2018-05-12 17:10:19 +02:00
cdce8p and GitHub
8fcf085829
Rewritten HomeKit tests ( #14377 )
...
* Use pytest fixtures and parametrize
* Use async
2018-05-11 01:21:59 +02:00
cdce8p and Johann Kellerman
8d017b7678
script/lint: Ensure there are files to test with pylint ( #14363 )
2018-05-10 12:47:04 +02:00
cdce8p and Paulus Schoutsen
91fe6e4e56
Add debounce to move_cover ( #14314 )
...
* Add debounce to move_cover
* Fix spelling mistake
2018-05-06 20:55:38 -04:00
cdce8p and Paulus Schoutsen
95d27bd1fa
Sensor device classes ( #14282 )
...
* Added light device class, moved device classes to const
* Removed unnecessary icons
* Replace 'lux' with 'lx'
* Fix comment
* Changed device_class name
2018-05-05 09:37:40 -04:00
cdce8p and GitHub
bb76ba67f3
Homekit: Changed device_class requirement Humidity Sensor ( #14277 )
2018-05-04 22:48:38 +02:00
cdce8p and Pascal Vizeli
e37fd5b132
Update HAP-python to 2.0.0 ( #14278 )
...
* Fixed async (added 'async_add_job' and 'add_job')
* Driver status
* Use pyhap category constants
* Changed 'set_broker' to 'set_driver'
* Changed loader method names
* Use 'serv.configure_char'
* Use 'self.set_info_service'
* Use 'self.add_preload_service'
* Fix hound issue
* Updated HAP-python to 2.0.0
2018-05-04 16:46:00 +02:00
cdce8p and GitHub
8cabec7ac1
Fix ZWave light brightness ( #14261 )
...
* Fix ZWave light brightness
* The brightness should always be an integer
* Changed to round
2018-05-03 23:28:03 +02:00
cdce8p and Sebastian Muszynski
e68b52d50d
Demo Sensor - Added device_class support ( #14269 )
2018-05-03 19:51:36 +02:00
cdce8p and Paulus Schoutsen
03c34804bc
Added CONF_IP_ADDRESS to HomeKit ( #14163 )
2018-04-30 13:36:54 -04:00
cdce8p and Paulus Schoutsen
46c260fd85
Added CONF_IP_ADDRESS to HomeKit ( #14163 )
2018-04-30 08:58:17 -04:00
cdce8p and GitHub
dd7e6edf61
HomeKit type_cover fix ( #13832 )
...
* Removed char_position_state
* Changed service call
2018-04-12 13:19:21 +02:00
cdce8p and Johann Kellerman
2a5751c09d
Homekit refactor ( #13707 )
2018-04-11 22:24:14 +02:00
cdce8p and GitHub
ae4e792651
Improved upgradeability HomeKit security_systems ( #13783 )
2018-04-09 22:57:10 +02:00
cdce8p and Pascal Vizeli
262ea14e5a
Add timeout / debounce (for brightness and others) ( #13534 )
...
* Add async timeout feature
* Decorator for setter methods to limit service calls to HA
* Changed to async
* Use async_call_later
* Use lastargs, async_add_job
* Use dict for lastargs
* Updated tests to stop patch
2018-04-06 23:11:53 +02:00
cdce8p and Paulus Schoutsen
85487612d5
Update Homekit to 1.1.9 ( #13716 )
...
* Version bump to HAP-python==1.1.9
* Updated types and tests
2018-04-06 10:20:59 -04:00
cdce8p and GitHub
206e38a2ab
Update HAP-python to 1.1.8 ( #13563 )
...
* Bump version to HAP-python==1.1.8
* Required changes for version change
* Small bugfix lights
2018-04-05 13:20:20 +02:00
cdce8p and GitHub
692b2644c7
Minor style changes, cleanup ( #13654 )
...
* Minor style changes, cleanup
* Change 'self._entity.id' to 'self.entity_id'
* Use const 'STATE_OFF'
* Added CATEGORY constants
* Removed *args from accessory types
* Changed 'self._hass' to 'self.hass'
* Added log debug msg (for added lights)
2018-04-05 00:52:25 +02:00
cdce8p and GitHub
f263a931f7
Bugfixes HomeKit covers, lights ( #13689 )
...
* covers -> current_position attribute
* lights -> hue and saturation attribute
2018-04-05 00:46:27 +02:00
cdce8p and Paulus Schoutsen
e687ca781f
Add pincode fallback ( #13587 )
...
* Add pincode log statement
* Moved msg to show_setup_msg
2018-04-01 11:26:18 -07:00
cdce8p and Paulus Schoutsen
cd96d7b2ec
Add pincode fallback ( #13587 )
...
* Add pincode log statement
* Moved msg to show_setup_msg
2018-04-01 08:38:29 -07:00
cdce8p and Paulus Schoutsen
0428559f69
HomeKit: Fix setting light brightness ( #13518 )
...
* Added test
2018-03-29 17:21:28 -07:00
cdce8p and Paulus Schoutsen
b0073b437f
Homekit: Fix security systems ( #13499 )
...
* Fix alarm_code=None
* Added test
2018-03-29 17:21:26 -07:00
cdce8p and Paulus Schoutsen
e04b01daad
Validate basic customize entries ( #13478 )
...
* Added schema to validate customize dictionary
* Added test
2018-03-29 17:21:25 -07:00
cdce8p and Paulus Schoutsen
020669fc60
Homekit: Bugfix Thermostat Fahrenheit support ( #13477 )
...
* Bugfix thermostat temperature conversion
* util -> temperature_to_homekit
* util -> temperature_to_states
* util -> convert_to_float
* Added tests, deleted log msg
2018-03-29 17:21:25 -07:00
cdce8p and GitHub
cea2de5eb5
HomeKit: Fix setting light brightness ( #13518 )
...
* Added test
2018-03-29 18:35:57 +02:00
cdce8p and GitHub
2bebfec3a6
Homekit: Fix security systems ( #13499 )
...
* Fix alarm_code=None
* Added test
2018-03-27 23:39:25 +02:00
cdce8p and GitHub
9eda04b787
Homekit: Bugfix Thermostat Fahrenheit support ( #13477 )
...
* Bugfix thermostat temperature conversion
* util -> temperature_to_homekit
* util -> temperature_to_states
* util -> convert_to_float
* Added tests, deleted log msg
2018-03-27 11:31:18 +02:00
cdce8p and Paulus Schoutsen
8a0facb747
Validate basic customize entries ( #13478 )
...
* Added schema to validate customize dictionary
* Added test
2018-03-26 19:50:29 -07:00
cdce8p and Paulus Schoutsen
60f6109cbf
HomeKit: Bugfix & improved logging ( #13431 )
...
* Bugfix & improved logging
* Removed logging statements
* Removed logging test
2018-03-25 18:23:30 -07:00
cdce8p and Pascal Vizeli
7db37a3834
HomeKit: Bugfix & improved logging ( #13431 )
...
* Bugfix & improved logging
* Removed logging statements
* Removed logging test
2018-03-25 12:53:15 +02:00
cdce8p and Paulus Schoutsen
7fd687f59c
Fix current_cover_position ( #13135 )
2018-03-23 13:54:19 -07:00
cdce8p and Paulus Schoutsen
553920780f
Added default return value for HS_Color ( #13395 )
2018-03-23 10:22:48 -07:00
cdce8p and GitHub
f6ae2d338d
Homekit: Use util functions for unit conversion ( #13253 )
...
* Updated to util/color for conversion
* Updated temperature sensor to use util/temperature conversion
2018-03-16 11:38:44 +01:00
cdce8p and GitHub
2350ce96a6
Homekit: New supported devices ( #13244 )
...
* Fixed log message
* Added support for scripts
* Added support for lights
* Small refactoring
* Added support for humidity sensor
* Added tests
2018-03-16 01:05:28 +01:00
cdce8p and GitHub
646ed5de52
Added cover.group platform (replaces #12303 ) ( #12692 )
...
* Added cover.group platform
* Added async/await, smaller changes
* Made (async_update) methods regular methods
* Small improvements
* Changed classname
* Changes based on feedback
* Service calls
* update_supported_features is now a callback method
* combined all 'update_attr_*' methods in 'async_update'
* Small changes
* Fixes
* is_closed
* current_position
* current_tilt_position
* Updated tests
* Small changes 2
2018-03-15 12:31:31 +01:00
cdce8p and GitHub
d348f09d3d
HomeKit Restructure (new config options) ( #12997 )
...
* Restructure
* Pincode will now be autogenerated and display using a persistence notification
* Added 'homekit.start' service
* Added config options
* Renamed files for types
* Improved tests
* Changes (based on feedback)
* Removed CONF_PIN_CODE
* Added services.yaml
* Service will only be registered if auto_start=False
* Bugfix names, changed default port
* Generate aids with zlib.adler32
* Added entity filter, minor changes
* Small changes
2018-03-15 02:48:21 +01:00
cdce8p and Paulus Schoutsen
874cccd530
Bugfix HomeKit: Error string values for temperature ( #13162 )
2018-03-14 15:08:21 -07:00
cdce8p and GitHub
c48c8710b7
Bugfix HomeKit: Error string values for temperature ( #13162 )
2018-03-14 13:22:38 +01:00
cdce8p and Paulus Schoutsen
7ea7fc8d38
Script/lint, Lazytox: Fix issue to ignore delete files ( #13051 )
...
* Fix issue to ignore delete files
* Updated lazytox
2018-03-10 09:12:23 -08:00
cdce8p and Paulus Schoutsen
a58d8fc68b
HomeKit Bugfix: names ( #13031 )
...
* Fix display_names, changed default port (+1)
* Revert port change
2018-03-09 19:42:36 -08:00
cdce8p and Paulus Schoutsen
3ca139e21e
HomeKit Bugfix: names ( #13031 )
...
* Fix display_names, changed default port (+1)
* Revert port change
2018-03-09 19:41:59 -08:00
cdce8p and GitHub
eaf525d41d
Script/gen_requirements: Ignore package families ( #12963 )
...
* Added fnmatch for IGNORE_PACKAGE_FAMILIES
2018-03-09 00:28:49 +01:00
cdce8p and Paulus Schoutsen
168e1f0e2d
Improved Homekit tests ( #12800 )
...
* Added test for temperature fahrenheit
* Restructured tests to use more mocks
* Rearanged homekit constants
* Improved 'test_homekit_class'
* Added import statements
* Fix Pylint Test errors
2018-03-01 15:20:02 -08:00
cdce8p and GitHub
17ba813a6d
Changed default from all to changed ( #12660 )
...
* Default option now '--changed'
* to check all files, use: '--all' or 'tox -e lint'
2018-03-01 18:02:19 +01:00
cdce8p and Pascal Vizeli
6a665ffb84
Fix homekit: temperature calculation ( #12720 )
2018-02-26 22:29:52 +01:00
cdce8p and Paulus Schoutsen
6e6ae173fd
Added config validator for future group platforms ( #12592 )
...
* Added cv.EntitiesDoamin(domain) validator
* Check if all entities in string or list belong to domain
* Added tests
* Use factory function and entity_ids
* Different error message
* Typo
* Added entity_domain validator for a single entity_id
* Image_processing platform now uses cv.entity_domain for source validation
2018-02-25 23:48:21 -08:00
cdce8p and Paulus Schoutsen
27b1d448a3
Homekit Update, Support for TempSensor (°F) ( #12676 )
...
* Changed version of "HAP-python" to "v1.1.7"
* Updated acc file to simplify init calls
* Code refactored and '°F' temp Sensors added
* Changed call to 'HomeAccessory' and 'HomeBridge'
* Extended function of 'add_preload_service' to add additional characteristics
* Added function to override characteristic property values
* TemperatureSensor
* Added unit
* Added calc_temperature
* Updated tests
2018-02-25 19:27:40 -08:00
cdce8p and GitHub
eacfbc048a
Improved Homekit tests ( #12647 )
...
* Spelling and typos
* Updated 'test_homekit_pyhap_interaction'
* Patch ip_address
2018-02-25 10:58:13 +01:00
cdce8p and Pascal Vizeli
da832dbda2
Removed py34 ( #12648 )
2018-02-25 08:05:20 +01:00
cdce8p and Paulus Schoutsen
ffd3889271
Updated script/lint ( #12600 )
...
* Compare to common ancestor
* Check if no file was changed
2018-02-22 15:22:59 -08:00
cdce8p and Lukas Barth
7829e61361
Bugfix: Input Datetime config schema ( #12552 )
...
* Bugfix for Input Datatime config schema
* Has_at_least_one_key_value only works if parameter is optional
* Added default parameters
2018-02-20 16:21:35 +01:00
cdce8p and GitHub
bb29f16054
Merge pull request #12532 from cdce8p/homekit-test_bugfixes
...
Homekit: Test bugfixes for py3.5
2018-02-20 02:50:49 +01:00
cdce8p
42ab4e1366
Homekit component test bugfixes for py3.5
2018-02-20 01:40:56 +01:00
cdce8p and Paulus Schoutsen
eec3bad94f
Add support for HomeKit ( #12488 )
...
* Basic Homekit support
* Added Temperatur Sensor
* Added Window Cover
* Code refactored
* Added class HomeAccessory(Accessory)
* Added class HomeBridge(Bridge)
* Changed homekit imports to relative, to enable use in custom_components
* Updated requirements
* Added docs
* Other smaller changes
* Changed Homekit from entity to class
* Changes based on feedback
* Updated config schema
* Add only covers that support set_cover_position
* Addressed comments, updated to pyhap==1.1.5
* For lint: added files to gen_requirements_all
* Added codeowner
* Small change to Wrapper classes
* Moved imports to import_types, small changes
* Small changes, added tests
* Homekit class: removed add_accessory since it's already covered by pyhap
* Added test requirement: HAP-python
* Added test suit for homekit setup and interaction between HA and pyhap
* Added test suit for get_accessories function
* Test bugfix
* Added validate pincode, tests for cover and sensor types
2018-02-19 14:46:22 -08:00
cdce8p and Paulus Schoutsen
7e2e82d956
Print every changed file on new line ( #12412 )
2018-02-14 22:01:30 -08:00
cdce8p and Pascal Vizeli
231b62d043
Fix cover service description ( #12243 )
...
Parameter for `set_cover_tilt_position` is `tilt_position` not `position`.
2018-02-08 16:09:42 +01:00
cdce8p and Paulus Schoutsen
cba55402b1
Improved test runtime ( #11553 )
...
* Remove redundent assert statements and cleanup
* Added 'get_date' function
* Replace 'freeze_time' with 'mock.patch'
* Tox in 185s (py35)
* Removed obsolete 'freeze_time' from test_updater
* Tox 162s (py35)
* Remove test requirement 'freezegun'
* Fixed flake8 errors
* Added 'mock.patch' for 'feedparser.parse'
* Made 'FUNCTION_PATH' a constant
* Remove debug statements.
2018-01-09 16:00:49 -08:00
cdce8p and Paulus Schoutsen
1490ccf7fb
Updated gitignore file ( #11452 )
2018-01-05 00:03:32 -08:00
cdce8p and Paulus Schoutsen
642e9c53ba
Input Boolean - Deleted 'DEFAULT_INITIAL' ( #11453 )
2018-01-05 00:03:00 -08:00
cdce8p and Paulus Schoutsen
1e9e6927eb
Input Select - Added service description ( #11456 )
2018-01-05 00:02:10 -08:00
cdce8p and Lukas Barth
65df6f0013
Fix CONF_FRIENDLY_NAME ( #11438 )
2018-01-03 23:52:36 +01:00
cdce8p and Pascal Vizeli
12e1602a81
input_text - Added service doc ( #10238 )
...
* * Added service doc
* * Deleted print statement
2017-10-31 14:51:12 +01:00
cdce8p and Pascal Vizeli
be5c0b2d92
Wait_template - support for 'trigger.entity_id' and data_template values ( #9807 )
...
* *Added support for use of 'trigger.entity_id' and service->data_template->script in wait_template
* * Fixed style violations
* * Fixed regular expression (_RE_GET_POSSIBLE_ENTITIES)
* * combined 'extract_entities' and 'extract_entities_with_variables'
* fixed regular expression
* * Added first test for extract_entities_with_variables
* * Added Unittests (tests/helpers/test_template.py test_extract_entities_with_variables)
* * Added Unittests (tests/helpers/test_script.py test_wait_template_variables)
* * Added Unittests (tests/components/automation/test_template.py test_wait_template_with_trigger)
* * Added Unittests (tests/components/automation/test_state.py test_wait_template_with_trigger)
* * Added Unittests (tests/components/automation/test_numeric_state.py test_wait_template_with_trigger)
* * Fixed style violations
* * Fixed style violations
* * Fixed style violations
* * Fixed style violations
* * Fixed style violations
* * Fixed style violations
* * Updated regular expression and delete whitespaces
2017-10-12 16:57:18 +02:00