Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
Matthias Alphart
98877924d3
Add `state_class` for KNX sensors ( #53996 )
2021-08-05 10:11:01 -07:00
Matthias Alphart
4d6c95a126
Don't double-validate KNX select options ( #54020 )
2021-08-05 08:16:33 +02:00
Matthias Alphart
27d42e0cd8
KNX: Support for HS-color lights ( #53538 )
2021-07-27 19:36:46 +02:00
Matthias Alphart
c1c6c54b45
xknx 0.18.9 ( #53519 )
2021-07-26 23:18:20 +02:00
Matthias Alphart
e8d7952880
Refactor KNX tests ( #53183 )
...
* refactor tests for KNX
- implement KNXTestKit class for convenient setup and assertion of KNX telegrams
- add fixture returning an instance of KNXTestKit with automatic cleanup test
* add tests for expose default attribute
- fix expose edge case not covered by #53046
* use asyncio.Queue instead of AsyncMock.call_args_list
for better readability
* get xknx from Mock instead of hass.data
* fix type annotations
* add injection methods for incoming telegrams
* rest read-response in expose
2021-07-19 23:39:19 -05:00
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
da-anda
6fe38eadf2
Fix knx expose feature not correctly falling back to default value ( #53046 )
2021-07-15 14:41:04 +02:00
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ( #52972 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Tom Matheussen
293690e3d8
Fix KNX Fan features ( #52732 )
...
* Fan entity should return support features
* Revert "Fan entity should return support features"
This reverts commit 3ad0e87708
.
* Restore supported_features for KNX fan
2021-07-08 15:05:43 +02:00
Matthias Alphart
9ed93de472
xknx 0.18.8 ( #52340 )
2021-06-30 15:06:33 +02:00
Matthias Alphart
d4211c4a66
Cleanup KNX supported_features for climate, cover and fan ( #52218 )
2021-06-28 20:22:44 +02:00
Matthias Alphart
253310aaa4
Add respond_to_read option to KNX switch ( #51790 )
2021-06-27 18:34:41 +02:00
Matthias Alphart
89cdda9fe6
Add idle hvac_action to KNX climate ( #52006 )
...
* add idle hvac_action and command_value extra_state_attribute
* use class attribute for unit
2021-06-27 18:31:07 +02:00
Matthias Alphart
5687ced7b3
Cleanup KNX integration ( #52168 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-26 14:30:36 +02:00
Matthias Alphart
74db49fae4
Add KNX select entity ( #52026 )
...
* select entity for knx
* validate select options
* lint
* phytonify
* Tweak
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-24 10:54:04 +02:00
Matthias Alphart
742159a6a6
Add number entity to KNX ( #51786 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-23 17:20:49 +02:00
Matthias Alphart
1d941284ff
Fix not awaiting async super method in KNX climate ( #52005 )
2021-06-19 01:10:17 -05:00
Matthias Alphart
c246e211eb
Update xknx to 0.18.7 ( #52000 )
2021-06-18 22:22:27 -05:00
Matthias Alphart
b08f473da4
Add current hvac_action to KNX climate ( #51464 )
2021-06-15 17:51:16 +02:00
Matthias Alphart
c0d311473c
Restore state of KNX Switch ( #51761 )
2021-06-15 13:08:19 +02:00
Matthias Alphart
4afe7de07f
xknx 0.18.6 ( #51758 )
2021-06-12 11:19:05 +02:00
Matthias Alphart
6e20edc30c
Update xknx to version 0.18.5 ( #51644 )
...
* xknx 0.18.5
* fix integer DPTs trying to cast str state with `int()`
* Delint
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-09 14:08:29 +02:00
Matthias Alphart
e5c70c8789
Update xknx to version 0.18.4 ( #51459 )
2021-06-04 08:34:16 +02:00
Matthias Alphart
549b0b0727
KNX: Support for XY-color lights ( #51306 )
...
* support for xy-color
* replace invalid name
2021-06-01 08:59:51 +02:00
Matthias Alphart
164e45f0a7
KNX: move some Schema to schema.py ( #51307 )
...
* create platform schema node from schema class
* move connection schema to schema.py
* rename SCHEMA to ENTITY_SCHEMA
* Final module level constants
2021-06-01 08:59:23 +02:00
Matthias Alphart
5acc3a1083
xknx 0.18.3 ( #51277 )
2021-05-31 09:58:48 +02:00
Matthias Alphart
4f9b7254d2
Initialize KNX expose value ( #49623 )
...
* simplify value extraction
* allow 0/1 and "True" / "False" for binary exposes
* initialize ExposeSensor value
* handle binary states
* use default for initialization
2021-05-26 11:21:11 +02:00
Matthias Alphart
8b21a652ba
Create KNX sensor entity directly from config ( #49642 )
...
* create sensor entities directly from config
* move staticmethod to module level
* remove factory call
2021-05-25 20:16:54 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Matthias Alphart
331cb3b74d
Fix KNX light: turn on color light with only brightness ( #50979 )
...
* fix turn on color light with only brightness
* fix comment
* fix individual_color address assignment
* python 3.8 compatibility
2021-05-24 09:51:33 +02:00
Matthias Alphart
5ca5b9ac89
Improve KNX config validation ( #50980 )
...
* remove dict repacking
* check binary_sensor device_class
* check cover device_class
* check sensor_type
2021-05-23 10:42:17 +02:00
Matthias Alphart
3e1f51883e
Create KNX weather entity directly from config ( #49640 )
...
* create climate entities directly from config
* deprecate create_sensors
* move create staticmethod to module level
* add comment for deprecation date
2021-05-21 01:30:37 +02:00
Michael
b1138b1aab
Add constructor return type in integrations E-K ( #50902 )
2021-05-20 18:47:30 +03:00
Matthias Alphart
be6a1bf096
Create KNX climate entity directly from config ( #49638 )
...
* create climate entities directly from config
* deprecate create_temperature_sensors
* move create staticmethod to module level
* use get() fro optional CONF_SETPOINT_SHIFT_MODE
* Fix deprecated version comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-20 12:23:41 +02:00
Matthias Alphart
ac6d99d434
Create KNX binary_sensor entities directly from config ( #50708 )
2021-05-17 15:33:09 +02:00
Matthias Alphart
1c7242a37a
Create KNX cover entities directly from config ( #50707 )
2021-05-17 12:17:19 +02:00
Matthias Alphart
7b18860dcd
Update xknx to version 0.18.2 ( #50491 )
...
* xknx 0.18.2
* individual colors without switch
* make `setpoint_shift_mode` optional
* Update homeassistant/components/knx/schema.py
2021-05-17 11:18:13 +02:00
Matthias Alphart
05c6f3ca1d
Create KNX light entities directly from config ( #50700 )
...
* create light entities directly from config
* review changes
2021-05-16 22:45:28 +02:00
Matthias Alphart
3200b0150a
Create KNX notify entities directly from config ( #50709 )
2021-05-16 12:07:44 +02:00
Matthias Alphart
1e11bfae05
Create KNX fan entities directly from config ( #50702 )
2021-05-16 08:34:14 +02:00
Matthias Alphart
222336a1db
Create KNX scene entities directly from config ( #50686 )
2021-05-16 08:14:28 +02:00
tkdrob
1160a5f239
Add targets and selectors for services (I-K) ( #50542 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-14 20:34:59 +02:00
Matthias Alphart
13a27eec90
Fix KNX climate unque_id ( #50054 )
2021-05-04 14:45:25 -07:00
Ruslan Sayfutdinov
786c5db5be
Use AddEntitiesCallback type, pt.4 ( #49955 )
2021-05-04 14:50:06 +02:00
Matthias Alphart
cfabb06a7a
Add color modes to KNX light ( #49883 )
...
* color_modes support
* return brightness for color lights
even when no brightness address is set
* apply brightness for color lights
* remove unneeded constants
2021-05-03 11:28:02 +02:00
Matthias Alphart
0a6f981b4c
Fix KNX light unique_id ( #49967 )
...
* migrate light unique_id
* review changes
2021-05-03 11:12:06 +02:00
Matthias Alphart
78befcd3fd
Fix KNX unique_id ( #49677 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-28 15:50:01 +02:00
Matthias Alphart
7acb16e2af
KNX Schema improvements ( #49678 )
2021-04-26 14:36:01 +02:00
Ruslan Sayfutdinov
37466ae423
Don't ignore mypy errors by default ( #49270 )
2021-04-26 14:23:21 +02:00
Matthias Alphart
671148b6ca
Update xknx to version 0.18.1 ( #49609 )
2021-04-24 14:18:14 +02:00
Marc Mueller
c07646db5d
Update typing syntax ( #49480 )
...
* Update typing syntax
* Replace typing imports with ones from collections where possible
* Changes after review
2021-04-20 17:40:41 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Matthias Alphart
985b4a581a
Create KNX switch entity directly from config ( #49238 )
2021-04-15 09:47:43 +02:00
Marvin Wichmann
21744790d3
Add KNX source address to Sensor and BinarySensor ( #48857 )
...
* Add source address to Sensor and BinarySensor
* Fix typing
* Review: Always use UTC time in state attributes
* Review: Add missing UTC conversion in sensor
2021-04-10 18:12:43 +02:00
Marvin Wichmann
91837f08ce
Update xknx to version 0.18.0 ( #48799 )
2021-04-08 14:54:43 +02:00
Marvin Wichmann
9e1a17c62e
Update xknx to version 0.17.5 ( #48522 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-31 17:04:22 +02:00
Matthias Alphart
338be8c70b
KNX passive group addresses ( #48009 )
2021-03-30 18:14:38 +02:00
Matthias Alphart
051f29f9b6
Remove KNX type alias for homeassistant.core types ( #48422 )
2021-03-27 22:20:11 +01:00
Matthias Alphart
8fa935234a
Type check KNX integration __init__ and knx_entity ( #48044 )
2021-03-26 16:10:55 +01:00
mptei
02b0a4ca1f
Xknx unneeded expose ( #48311 )
2021-03-26 14:51:36 +01:00
Matthias Alphart
de1fa706a0
xknx 0.17.4 ( #48350 )
2021-03-26 08:07:57 +01:00
Matthias Alphart
6b2a2740f1
Type check KNX integration climate ( #48054 )
2021-03-25 09:47:49 +01:00
plomosits
18e6816373
Improve Docker and Kubernetes support for KNX ( #48065 )
...
Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-03-22 20:03:57 +01:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity ( #48213 )
2021-03-22 19:59:03 +01:00
Matthias Alphart
70bebc51f2
Type check KNX integration cover ( #48046 )
2021-03-19 22:25:20 +01:00
Matthias Alphart
16a4f05e27
Type check KNX integration fan ( #48056 )
2021-03-19 20:55:08 +01:00
Matthias Alphart
66b537c0e3
Type check KNX integration factory and schema ( #48045 )
...
these are used non-optional anyway
get them per config[] notation
2021-03-19 10:23:50 +01:00
Matthias Alphart
e522b311ce
Type check KNX integration binary_sensor, sensor and switch ( #48050 )
2021-03-19 10:22:18 +01:00
Matthias Alphart
fb1e76db8c
Type check KNX integration light ( #48053 )
...
* type check light
* review changes
2021-03-19 10:21:06 +01:00
Matthias Alphart
943ce8afaf
Type check KNX integration weather, notify and scene ( #48051 )
2021-03-19 10:16:27 +01:00
Matthias Alphart
987c2d1612
Type check KNX integration expose ( #48055 )
2021-03-19 10:12:55 +01:00
Marc Mueller
25a13d1554
Update typing 10 ( #48071 )
2021-03-18 13:07:04 +01:00
Matthias Alphart
a4075d9e11
KNX sensor: float no longer valid for `type` ( #48005 )
2021-03-16 21:33:56 +01:00
Matthias Alphart
7ed9e5b2c2
Update xknx to 0.17.3 ( #47996 )
2021-03-16 16:43:11 +01:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
Matthias Alphart
54a9b69ecb
Update xknx to 0.17.2 ( #47732 )
2021-03-10 10:32:22 -10:00
Matthias Alphart
ce8871ef59
KNX remove custom deprecation warnings ( #47238 )
2021-03-03 00:50:40 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Matthias Alphart
3fda9fd0c6
KNX address constant ( #47196 )
2021-03-01 21:59:36 +01:00
Matthias Alphart
dadc99dbd3
Deprecate knx config_file ( #46874 )
...
* deprecate config_file
* removed cv.deprecated for now, added persistent notification
* Update homeassistant/components/knx/__init__.py
Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
* remove notification, add cv.deprecated again
* Update homeassistant/components/knx/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* remove cv.deprecated again
Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-01 11:55:55 +01:00
Matthias Alphart
92afcb6b4b
KNX services send and event_register accept multiple group addresses ( #46908 )
...
* send and event_register service accept lists of group addresses
* remove lambda
* object selector for lists
* knx.read takes lists too
2021-03-01 11:51:59 +01:00
Marc Mueller
16dcbf1467
Update pylint ( #47205 )
2021-02-28 22:09:01 -10:00
Matthias Alphart
a632215541
Validate KNX addresses ( #46933 )
2021-02-24 08:37:41 +01:00
Matthias Alphart
d02b27a5d0
Update xknx to 0.17.1 ( #46974 )
2021-02-23 16:26:17 -08:00
Matthias Alphart
b583ded8b5
Fix KNX services.yaml ( #46897 )
2021-02-23 22:59:16 +01:00
Philip Allgaier
7a7147edcf
Add stop tilt support to KNX ( #46947 )
2021-02-23 16:34:02 +01:00
Matthias Alphart
1a27af43cc
Add KNX service exposure_register ( #45257 )
2021-02-21 19:38:17 -10:00
Martin
6bb848455f
Add open/close tilt support to KNX cover ( #46583 )
2021-02-20 09:09:43 -10:00
Matthias Alphart
194c0d2b08
knx-read-service ( #46670 )
2021-02-20 09:09:23 -10:00
Matthias Alphart
2cf46330b1
Enable KNX routing optional local_ip ( #46133 )
2021-02-20 09:08:59 -10:00
Matthias Alphart
2940df09e9
Update xknx to 0.17.0 ( #46809 )
2021-02-20 08:45:04 -10:00
J. Nick Koston
3e334a4950
Fix typing of fan speed count and steps ( #46790 )
2021-02-19 19:57:21 -10:00
J. Nick Koston
f2b303d509
Implement percentage step sizes for fans ( #46512 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-18 21:05:09 -10:00
Martin
eb0d1bb673
Improve knx fan implementation ( #46404 )
2021-02-11 07:55:17 -10:00
Martin
175f2f0275
Add fan platform to knx ( #46161 )
2021-02-09 22:09:34 -10:00
Matthias Alphart
e7ca0ff71a
Enable KNX auto_reconnect for auto-discovered connections ( #46178 )
2021-02-08 11:23:50 +01:00
Matthias Alphart
94eb31025c
xknx 0.16.3 ( #46128 )
2021-02-07 01:27:58 +01:00
Matthias Alphart
868e530cbb
Prevent AttributError for uninitilized KNX ClimateMode ( #45793 )
2021-01-31 20:56:42 +01:00
Matthias Alphart
616328c7c4
Update xknx to 0.16.2 ( #45511 )
2021-01-25 00:51:38 +01:00
Matthias Alphart
4aceb0dd27
Add KNX service event_register ( #45248 )
2021-01-22 15:27:51 +01:00
Matthias Alphart
8d3564e275
Update xknx to 0.16.1 ( #45247 )
2021-01-18 10:15:28 -05:00
Matthias Alphart
30189fb5d5
Fix KNX cover state return open when unknown ( #44926 )
2021-01-08 11:50:02 +01:00
Matthias Alphart
ad4804f38a
Fix knx.send service not accepting floats ( #44802 )
2021-01-04 04:49:29 +01:00
Matthias Alphart
2bd8ee34f4
Update xknx to 0.16.0 ( #44749 )
...
* update xknx to 0.16.0
* fix telegram in knx_event and knx.send service
* fix knx.send to not coerce floats to int
fixes #44792
also enables strings to be sent
* Revert "fix knx.send to not coerce floats to int"
This reverts commit ac40fb53f9
.
2021-01-04 03:07:12 +01:00
PhiBo
ffbef0bcd1
Fix KNX issue if 0 kelvin is reported by device ( #44392 )
...
Co-authored-by: Matthias Alphart <farmio@alphart.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-12-22 13:28:37 +01:00
Matthias Alphart
67ed730c08
KNX BinarySensor takes float values for `reset_after` ( #44446 )
2020-12-22 12:39:50 +01:00
Matthias Alphart
29091f4537
Update xknx to 0.15.6 ( #43645 )
2020-11-27 18:06:15 +01:00
Matthias Alphart
7f9a7791bf
update xknx to 0.15.4 ( #43536 )
2020-11-24 22:58:17 +01:00
Marvin Wichmann
899fc3d35a
Update xknx to 0.15.3 ( #42026 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-13 09:37:45 +01:00
Philip Allgaier
bbd7402793
Add reload support to KNX ( #42429 )
...
* Add reload support to KNX
* Changes from review (platform reset + asyncio.gather)
* Changes from review (proper asyncio.gather usage)
2020-11-12 14:34:08 +01:00
Marvin Wichmann
f5429dc175
Update xknx to 0.15.0 ( #40649 )
...
* Update xknx to 0.15.0
closes #40526
* Review: Remove log_directory for now
* Review: typo fix
2020-09-30 10:04:56 +02:00
Marvin Wichmann
72a7f69a08
Update xknx to version 0.14.4 ( #40472 )
2020-09-22 21:10:37 -05:00
Marvin Wichmann
d82b97fbe1
Update xknx to 0.14.3 ( #40430 )
2020-09-22 15:35:44 +02:00
Marvin Wichmann
3d6434be75
Use centralized KnxEntity for all KNX platforms ( #40381 )
2020-09-21 18:08:35 +02:00
Marvin Wichmann
45288431f9
Update xknx to 0.14.2 ( #40304 )
...
* Updates xknx to 0.14.0
* Review: Explicity add state attributes to weather device
* Review: Remove state attributes from weather device
* Review: Add `counter` as a state attribute to binary_sensors
2020-09-20 23:40:36 +02:00
Marvin Wichmann
8ea8969d80
Warn users if KNX has no devices configured ( #39899 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-11 13:09:31 +02:00
Marvin Wichmann
69b3da48b1
Adds missing name property to KNX weather device ( #39547 )
2020-09-01 13:01:47 +02:00
Marvin Wichmann
bba8b8e759
Add support for a dedicated weather station within KNX ( #39476 )
...
* Adds support for a dedicated weather station within KNX
* Review
* Change config values to comply with the naming of the other platforms
2020-08-31 11:38:52 +02:00
Marvin Wichmann
9f4d4862b4
Update xknx to 0.13.0 ( #39407 )
2020-08-30 20:13:47 +02:00
Ville Skyttä
1bf2c4d976
Upgrade pylint to 2.6.0 ( #39363 )
2020-08-29 07:59:24 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Marvin Wichmann
a2651845f3
Centralize knx config and update xknx to 0.12.0 ( #39219 )
...
* Refactor KNX integration to centralize configuration yaml (#39189 )
* Updates for xknx 0.12.0 (#38880 )
2020-08-26 18:03:03 +02:00
Phil Bruckner
716fa63e73
Update script helper constructor parameters ( #38763 )
...
Add domain and make it and name required.
Add optional running_description.
2020-08-12 11:39:05 -05:00
J. Nick Koston
1d7f3416d3
Switch async_track_state_change to the faster async_track_state_change_event part 7 ( #37870 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-14 23:37:25 -07:00
Matthias Alphart
7147c5306d
update knx module to xknx 0.11.3 ( #35154 )
...
- add expose attribute function and default value
- default climate havc_mode to "heat" if modes are not supported
- support `update_entity` service call
2020-05-13 09:19:00 -04:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
FredericMa
71c8fcee20
Allow configuring KNX preset_modes via the operation_modes variable ( #33068 )
2020-04-18 17:07:13 +02:00
FredericMa
2faa3af51f
Extend knx brightness with rgb brightness if brightness addres… ( #33152 )
...
* Extend knx brightness with rgb brightness if brightness addresses are not supported
* Fix explicit return value
* Check for None
* Remove not needed check
* Disable false positive pylint warning
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-18 02:25:44 +02:00
springstan
c20a965eda
Improve string formatting v3 ( #33667 )
...
* Improve string formatting v3
* Address review comment
2020-04-05 01:32:58 +02:00
Franck Nijhof
187b6525b4
Removal of extraneous parenthesis ( #33637 )
2020-04-04 20:08:55 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ( #33513 )
...
* Directly call async_write_ha_state pt2
* Directly call async_write_ha_state pt2
* Fix mock
* Address comments
2020-04-03 09:34:50 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Ron Klinkien
774b1d1663
Enable KNX tunnel auto_reconnect by default ( #33387 )
...
* Added tunnel reconnect functionality
* Code improvements
* Update homeassistant/components/knx/__init__.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>
* Enable auto_reconnect for tunnels by default
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-04-01 00:22:20 +02:00
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
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
Matthias Alphart
9ff9614d0b
fix knx light turn_on with ct ( #31184 )
...
process both brightness and color_temperature in a turn_on call.
2020-01-29 12:07:25 +01: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
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
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
phispi
f8d779e840
Prevent TypeError when KNX RGB(W) light value contains None ( #28358 )
...
* Prevent TypeError when KNX RGB(W) light value contains None.
* Pylint doesn't like 'w' as variable name, therefore using 'white' instead.
* Simplified code as suggested by pvizeli.
2019-11-01 21:23:23 +01:00
Diefferson Koderer Môro
ff17bb4a56
Move imports in knx component ( #28008 )
...
* Move imports in knx component
* Fix pylint
2019-10-21 22:38:21 -07:00
tombbo
e992cfb45c
Add on_off_inverted to KNX climate ( #25900 )
...
* Added a new configuration boolean parameter on_off_inverted to KNX Climate component.
* Remove unexpected spaces around equals.
* Parameter name changed to on_off_invert and modified to new version of XKNX library.
* Dict[key] for required config keys and keys with default config schema values.
2019-10-17 21:07:09 +02:00