Commit graph

27 commits

Author SHA1 Message Date
Joakim Plate
0321c8bdc5
Allow device class for switch to be set in knx () 2022-10-26 21:04:11 +02:00
Marvin Wichmann
3baa7b679d
Use new Platform enum in KNX () 2021-12-03 09:29:38 -08:00
Marvin Wichmann
e5c33474e3
Add config and options flow to KNX integration () 2021-11-20 11:30:41 +01:00
Marvin Wichmann
e9ca511327
Add support for entity category for necessary KNX platforms () 2021-10-24 20:12:26 -07:00
Matthias Alphart
253310aaa4
Add respond_to_read option to KNX switch () 2021-06-27 18:34:41 +02:00
Matthias Alphart
5687ced7b3
Cleanup KNX integration ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-26 14:30:36 +02:00
Matthias Alphart
c0d311473c
Restore state of KNX Switch () 2021-06-15 13:08:19 +02:00
Ruslan Sayfutdinov
786c5db5be
Use AddEntitiesCallback type, pt.4 () 2021-05-04 14:50:06 +02:00
Matthias Alphart
78befcd3fd
Fix KNX unique_id ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-28 15:50:01 +02:00
Marc Mueller
c07646db5d
Update typing syntax ()
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Matthias Alphart
985b4a581a
Create KNX switch entity directly from config () 2021-04-15 09:47:43 +02:00
Matthias Alphart
051f29f9b6
Remove KNX type alias for homeassistant.core types () 2021-03-27 22:20:11 +01:00
Matthias Alphart
e522b311ce
Type check KNX integration binary_sensor, sensor and switch () 2021-03-19 10:22:18 +01:00
Marvin Wichmann
3d6434be75
Use centralized KnxEntity for all KNX platforms () 2020-09-21 18:08:35 +02:00
Marvin Wichmann
9f4d4862b4
Update xknx to 0.13.0 () 2020-08-30 20:13:47 +02:00
Marvin Wichmann
a2651845f3
Centralize knx config and update xknx to 0.12.0 ()
* Refactor KNX integration to centralize configuration yaml ()

* Updates for xknx 0.12.0 ()
2020-08-26 18:03:03 +02:00
Matthias Alphart
7147c5306d
update knx module to xknx 0.11.3 ()
- 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 () 2020-04-26 18:50:37 +02:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ()
* 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
Diefferson Koderer Môro
ff17bb4a56 Move imports in knx component ()
* Move imports in knx component

* Fix pylint
2019-10-21 22:38:21 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Matthias Alphart
e299d7b3d6 Update KNX component to xknx 0.11 ()
* update component for xknx 0.11.0

- expose sensor state is not casted to float anymore
- climate mode operation list has no more None values
- light supports white_value (rgbw)
- sensor expects `group_address_state` now instead of `group_address`
- sensor forwards device_class if available

* update manifest to use xknx 0.11.0

* update requirements_all for xknx 0.11.0

* update for xknx 0.11.1

- require xknx 0.11.1
- use 'state_address' instead of 'address' in sensor and binary_sensor configuration
- optional 'sync_state' for sensors and binary_sensors

* remove questionable `del kwargs`
2019-07-11 22:01:37 +02:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* 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
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ()
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
2d2c6cf4a1
Use constants from const.py ()
* Use constants from const.py

* Fix lint issues
2019-02-19 14:09:06 +01:00
Fabian Affolter
161c368c9d Update file header ()
* Update file header

* Update __init__.py
2019-02-13 20:35:12 -08:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ()
* 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
Renamed from homeassistant/components/switch/knx.py (Browse further)