springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Jc2k
d207c37c33
Address homekit_controller feedback on #32212 and #32213 ( #32228 )
2020-02-26 17:10:05 -08:00
Jc2k
853d6cda25
Make homekit_controller a local push integration ( #32213 )
2020-02-26 10:35:53 -08:00
Jc2k
92a47f14bb
homekit_controller test cleanups ( #32212 )
2020-02-26 09:44:04 -08:00
Jc2k
4a89fba6f9
Add homekit_controller occupancy sensor ( #32188 )
2020-02-25 22:01:03 +00:00
Jc2k
dd13e99967
Add missing device class attributes to homekit_controller sensors ( #32175 )
...
* Add some missing device class attributes to homekit_controller sensors
* Add classes for binary sensors
2020-02-25 21:43:14 +01:00
Jc2k
438c4acf07
Deprecate homekit_controller .homekit folder ( #32158 )
...
* homekit_controller: Deprecate .homekit folder
* Tweaks from review
* Delay it a release
2020-02-25 12:09:04 +01:00
Jc2k
c9d78aa78c
Refactor homekit_controller config flow tests ( #32141 )
...
* Config flow test refactor
* Add a service and characteristic to the accessory so its more realistic
* Feedback from review
* Missing apostrophe
2020-02-25 12:06:35 +01:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ( #32122 )
...
* Add and use speed constants
* Add and use meter based volume and area constants
* Add and use more mass unit constants
* Add and use concentration unit constants
* Add and use watts per square meter constant
* Use more time constants
* Use more data constants
2020-02-24 17:52:14 -08:00
Jc2k
df9363610c
Refactor homekit_controller to be fully asynchronous ( #32111 )
...
* Port homekit_controller to aiohomekit
* Remove succeed() test helper
* Remove fail() test helper
2020-02-24 10:55:33 +01:00
HomeAssistant Azure
2e5161997f
[ci skip] Translation update
2020-02-18 00:31:41 +00:00
HomeAssistant Azure
84e4ef510e
[ci skip] Translation update
2020-02-17 00:31:56 +00:00
HomeAssistant Azure
f3a8196fb5
[ci skip] Translation update
2020-02-15 00:31:45 +00:00
Paulus Schoutsen
e019280d94
Annotate more async functions correctly ( #31802 )
2020-02-14 10:00:22 -08:00
HomeAssistant Azure
32bc94bdd6
[ci skip] Translation update
2020-02-14 00:31:49 +00:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
HomeAssistant Azure
40e866a5bb
[ci skip] Translation update
2020-02-13 00:31:46 +00:00
HomeAssistant Azure
118ba10442
[ci skip] Translation update
2020-02-10 00:31:37 +00:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
HomeAssistant Azure
5483de7e25
[ci skip] Translation update
2020-02-08 00:31:45 +00:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08: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
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
HomeAssistant Azure
0534153ae7
[ci skip] Translation update
2020-01-13 00:31:54 +00:00
HomeAssistant Azure
d6512c8a9f
[ci skip] Translation update
2020-01-11 00:31:55 +00:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Jc2k
8257ea30c0
Set required_features field when registering fan services ( #30516 )
...
* Set required_features on fan services
* Fix mqtt fan test
* Update fan.py
2020-01-06 17:10:51 +01:00
Jc2k
a58c796641
Add support for homekit air quality sensors ( #30510 )
...
* Add air quality sensor
* Fix comment from review
* Fix comment from review
* Lint fix
2020-01-06 16:35:10 +01:00
Jc2k
fffc5a5fbb
Add support for v1 and v2 HomeKit fans. ( #30503 )
...
* Add support for v1 and v2 HomeKit fans.
* Lint fix
2020-01-05 15:56:46 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Jc2k
80701c8f2a
Defer homekit_controller initial poll after all entities are created ( #30355 )
...
* Make sure first poll happens after sub-platforms are loaded and entities are created.
* Function dosn't need to return anything
* Don't forward entry if already forwarded it
2020-01-03 21:22:27 +01:00
Jc2k
fccb13b762
Add homekit_controller service.sensor.smoke ( #30269 )
2019-12-30 08:05:49 +00:00
Jc2k
8a22a38353
Accept homekit_controller pairing codes both with and without dashes ( #30273 )
...
* Handle MalformedPinError from homekit_python
* Handle both formats of pin codes
2019-12-30 07:36:01 +00:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
Jc2k
b41480ae46
Add a config entry mechanism to rediscover a discovery that was ignored ( #30099 )
...
* Mechanism to rediscover a discovery that was ignored
* Add core config entry tests for new rediscover step
* Add tests for homekit_controller implementation of async_step_rediscover
* Rename rediscover to unignore
* Comment the new ignore/unignore mechanisms
2019-12-21 11:22:07 +01:00
Jc2k
c3144eddbb
Set unique id on homekit_controller config entries ( #30035 )
...
* Set unique id on config entries
* Changes from review
2019-12-19 09:45:22 +01:00
springstan
3b5da9c44a
Move imports to top for homekit_controller ( #29564 )
...
* Move imports to top for homekit_controller
* Fix IpPairing mock in two test files
2019-12-08 16:50:57 +00:00
HomeAssistant Azure
a1a131334a
[ci skip] Translation update
2019-12-04 00:32:11 +00:00
Ville Skyttä
99c7608fb4
Lint config cleanups ( #28864 )
...
* Remove bunch of unneeded lint exclusions
* Use symbolic names instead of identifiers in pylint disables
* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
SukramJ
1fde0d18ed
Add supported_features to Alarm Control Panel to limit device_actions ( #29065 )
...
* Add supported_features to Alarm Control Panel
* mark supported_features abstract
* Add SF to async_register_entity_service
* fix test
* Add missing SF SUPPORT_ALARM_ARM_CUSTOM_BYPASS
* isort
* fix async_register_entity_service
* Update alarm_control_panel.py
2019-11-25 15:42:53 -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
GaryOkie
a9a1c2b91d
Update Homekit climate.py to remap current mode ( #28625 )
...
* Update Homekit climate.py to remap current mode
This update changes the mapping of Homekit's Current Mode Heating/Cooling State to show the HASS Hvac_action attribute as "idle" instead of "off" when the returned value is 0.
* Update climate.py
removed imported constant no longer being used (CURRENT_HVAC_OFF)
* corrected update to climate.py
trying again to remove unused constant.
* Update test_climate.py
* removed "change" comment
The added comment describing the change was not needed and should not be included, as it will already be described via "git annotate" (per @jc2k)
2019-11-12 00:35:09 +01:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00: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
HomeAssistant Azure
e005f6f23a
[ci skip] Translation update
2019-10-03 00:34:28 +00:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
tleegaard
2ffbe5b99f
Inverting states for opening/closing Homekit covers ( #26872 )
...
* Update cover.py
* Update test_cover.py
2019-09-24 21:16:08 -07:00