wilburCforce
430b9cef43
Fix device type in Lutron ( #109401 )
...
remove testing code
2024-02-02 22:42:53 +02:00
wilburCforce
39d263599e
Add lutron fan entity ( #107402 )
...
* add support for fan entity
* removed unused variables
* removed preset leftovers - not needed
* added deprecation for fans
* Update __init__.py
* fix typing
* initial updates based on review
* updated to search on unique ID instead of entity ID.
* updates for nits
* nits updates
* updates for new callback
* removed async per nits
* wrapped comments into shorter lines
* Add comment comma
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-29 20:58:12 +01:00
Joost Lekkerkerker
114bf0da34
Update Lutron in callback ( #108779 )
...
* Update Lutron in callback
* Update Lutron in callback
* Remove abstractmethod
* Don't do IO in constructor
* Split fetching and setting
2024-01-25 12:54:31 +01:00
Joost Lekkerkerker
d0da457a04
Add device to Lutron ( #107467 )
...
* Add typing to Lutron platforms
* Add devices to Lutron
* Add devices to Lutron
* Fix typing
* Fix
* Add name
* Fix lights
* Comment out ESA
* Fix domain
* Fix domain
* Fix
* Make generic keypad base class
2024-01-22 15:52:59 +01:00
Joost Lekkerkerker
15ce70606f
Add typing to Lutron platforms ( #107408 )
...
* Add typing to Lutron platforms
* Update homeassistant/components/lutron/switch.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Update homeassistant/components/lutron/__init__.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Update homeassistant/components/lutron/entity.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Update homeassistant/components/lutron/scene.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Fix typing
* Fix typing
---------
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-01-07 17:48:23 +01:00
Joost Lekkerkerker
2b43271c3b
Move Lutron entry data to typed class ( #107256 )
...
* Move Lutron entry data to typed class
* Move Lutron entry data to typed class
* Exclude file
* Update homeassistant/components/lutron/__init__.py
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
---------
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2024-01-05 22:04:10 +01:00
Joost Lekkerkerker
9672ca5719
Extract LutronDevice into separate file ( #107285 )
2024-01-05 20:38:02 +01:00
wilburCforce
52653220e3
Add code owner for Lutron ( #107280 )
...
* hassfest enable
* update code owner
* fix code owner typo
* removed garbage
2024-01-05 20:07:08 +01:00
Joost Lekkerkerker
3d338b5719
Sort Lutron platforms ( #107257 )
2024-01-05 17:31:50 +01:00
wilburCforce
be6cf7d3ae
Add Lutron config flow ( #98489 )
...
* rough in structure for config_flow
* updated json files
* initial conversion to config_flow
* minor updates
* Update binary_sensor.py
* Update config_flow.py
* Update __init__.py
* updates beased on requested changes
* Update const.py
added doc note for ruff
* updated based on suggestions
* updated load xmldb for efficiency
* updated references
* removed unneeded file
* updated config flow to use GUID from XML DB
* minor update to change logging
* updated based on PR feedback
* reverted change for line 30 based on testing
* corrected user_input
* updated based on latest comments
* exception handling
* added raising of issues for config flow
* updated issues strings
* config flow test shell - needs work
* minor changes
* Update strings.json
* Update config_flow.py
* Update __init__.py
* Create conftest.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update config_flow.py
* Update strings.json
* Update requirements_test_all.txt
* Update strings.json
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
* Update config_flow.py
* Create test_init.py
* Update __init__.py
* Delete tests/components/lutron/test_init.py
* Update strings.json
* updated import parts and tested
* updated strings to improve user feedback
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-05 16:39:14 +01:00
Mike Knoop
2092bd225d
Distinguish multiple raise lower buttons on one Lutron keypad ( #92380 )
2023-06-27 19:52:46 +02:00
Mike Knoop
e8fb7b8cf1
Fix Lutron keypad led state always off at startup ( #91149 )
2023-04-12 12:59:52 +02:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 ( #87027 )
2023-02-08 20:38:43 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
cdheiser
2813101418
Add cdheiser to Lutron codeowners ( #81922 )
...
* Update manifest.json
Add cdheiser as codeowner
* Update CODEOWNERS
Add @cdheiser as owner of Lutron.
2022-11-10 19:35:47 +01:00
Jon Gilmore
0ce301ae7b
Remove JonGilmore from lutron codeowners ( #81727 )
2022-11-07 21:22:03 -06:00
epenet
d1ecd74a1a
Improve entity type hints [l] ( #77655 )
2022-09-01 14:14:31 +02:00
epenet
dff9baf880
Use _attr_should_poll in components [j-n] ( #77357 )
2022-08-26 21:19:37 +02:00
epenet
7b1463e03d
Improve type hints in light [i-r] ( #75943 )
2022-07-31 13:53:22 +02:00
uvjustin
3aa75f3fcc
Don't use executor for lutron subscription ( #75726 )
2022-07-25 22:32:00 +02:00
epenet
e8917af823
Cleanup update/async_update typing in Entities ( #74035 )
2022-06-28 00:48:56 +02:00
epenet
10dc38e0ec
Adjust CoverEntity property type hints in components ( #73943 )
...
* Adjust CoverEntity property type hints in components
* Revert changes to rflink
* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet
a92ab7a669
Adjust CoverEntity function type hints in components ( #73912 )
...
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
epenet
5bb850eea3
Use ColorMode enum in lutron ( #70518 )
2022-04-23 09:21:57 -10:00
Erik Montnemery
5110565488
Migrate lutron light to color_mode ( #69422 )
2022-04-07 14:50:21 +02:00
epenet
95fb4695e4
Use EntityFeature enum in components (l**) ( #69412 )
2022-04-06 21:34:58 -10:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
epenet
506a0b526b
Add setup type hints [l] ( #63450 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:30:37 +01:00
epenet
5140c1fa6a
Remove invalid return values in setup methods [i-p] ( #63363 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 11:30:13 +01:00
epenet
f39531dcfc
Add switch setup type hints [g-m] ( #63303 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:23:11 +01:00
epenet
5ddab5a7f2
Add setup type hints to number, remote and scene ( #63299 )
...
* Add number setup type hints
* Add remote setup type hints
* Add scene setup type hints
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 17:17:44 +01:00
epenet
277562bc38
Add light setup type hints [l-r] ( #63292 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:11:59 +01:00
epenet
33e4251606
Add binary_sensor setup type hints [h-n] ( #63269 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:32:26 +01:00
Sebastian Lövdahl
d18f1cc872
Use Platform constants all over the place 2/3 ( #62953 )
2021-12-28 21:23:07 +01:00
epenet
5b77fb9a0f
Use BinarySensorDeviceClass in lutron ( #61886 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-15 15:57:33 +01:00
cdheiser
ec28f7eef2
Don't return a unique_id if Lutron doesn't have a UUID for the device. ( #56113 )
...
This is a workaround for https://github.com/thecynic/pylutron/issues/70
Co-authored-by: cdheiser <cdheiser@users.noreply.github.com>
2021-09-12 09:24:02 +02:00
cdheiser
ede916f42f
Provide unique IDs for Lutron Entities ( #51395 )
...
Co-authored-by: cdheiser <cdheiser@users.noreply.github.com>
2021-08-24 11:50:32 +02:00
Nicko van Someren
705e2446e5
Fix Lutron button events to have unambiguous names ( #53666 )
2021-07-29 16:29:52 +02:00
Jon Gilmore
eb735b6162
Bump pylutron to 0.2.8 fixing python 3.9 incompatibility ( #52702 )
2021-07-08 15:18:08 +02:00
Franck Nijhof
258b388f41
Collection of changing entity properties to class attributes ( #51248 )
...
* Collection of changing entity properties to class attributes
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
uvjustin
e9334347eb
Bump pylutron 0.2.7 ( #46717 )
2021-02-18 07:54:10 +01:00
TimothyLeeAdams
7872e6caf8
Change attribute key for Lutron cover to lutron_integration_id ( #45114 )
...
Currently, covers return "Lutron Integration ID" as a state attribute. This is inconsistent with the light, switch, and binary_sensor which return "lutron_integration_id".
2021-01-13 18:59:57 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
springstan
038c05d0ee
Return attribute dict directly without temporary variable ( #41206 )
2020-10-05 12:51:48 +02: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