1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-10 22:10:02 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Sid
a5b609f081 Enable ruff TRY401 ()
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
Marc Mueller
988c71ecc5 Add empty line after module docstring [n-q] () 2024-03-08 15:04:07 +01:00
Franck Nijhof
baef267f33 String formatting and max line length - Part 3 () 2022-12-22 13:35:47 +01:00
epenet
7f1e1ed1d8 Enforce LightEntityFeature () 2022-11-22 07:14:47 +01:00
epenet
8a084cf94d Use _attr_supported_features in osram light () 2022-11-17 12:45:59 +01:00
Yevhenii Vaskivskyi
1802ecfc24 Fix len method typo for Osram light ()
* Fix `len` method typo for Osram light

* Fix typo in line 395
2022-09-08 08:49:36 +02:00
Erik Montnemery
c8c9a4b09f Migrate osramlightify light to color_mode () 2022-08-30 20:58:38 +02:00
epenet
7b1463e03d Improve type hints in light [i-r] () 2022-07-31 13:53:22 +02:00
epenet
faffd809d5 Use LightEntityFeature enum in osramlightify () 2022-04-29 22:48:55 +03:00
epenet
277562bc38 Add light setup type hints [l-r] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:11:59 +01:00
Erik Montnemery
14a59d290a Update integrations j-o to override extra_state_attributes() () 2021-03-11 20:11:25 +01:00
Erik Montnemery
e4333a7a44 Rename Light to LightEntity () 2020-04-26 18:49:41 +02:00
springstan
b2af1de273 Improve string formatting v9 ()
* Improve string formatting v9

* Address review comments
2020-04-12 17:18:09 +02:00
Franck Nijhof
6f1900c6f4 Replace OSError aliases with OSError () 2020-04-04 22:09:11 +02:00
Franck Nijhof
886308a953 String formatting improvements () 2020-04-04 21:39:22 +02:00
javicalle
87c0207163 Move imports in osramlightify component () 2019-10-20 23:38:45 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07: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
Tobias Sauerwein
048b100eea Clean up docstrings ()
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
OleksandrBerchenko
8a86a79040 Add missing properties and scenes support to Osram Lightify ()
* Rewrite Osram Lightify component

* Update python-lightify version to 1.0.7.2

* Remove unneeded code

* 1. Remove changes in light/__init__.py, 2. Set properties to None by default

* Fix typo

* Implement missing features (including scenes)

* Make input parameters to setup_platform standardized
2019-04-02 11:14:46 -07:00
OleksandrBerchenko
842a36dc9e Rewrite Osram Lightify component ()
* Rewrite Osram Lightify component

* Update python-lightify version to 1.0.7.2

* Remove unneeded code

* 1. Remove changes in light/__init__.py, 2. Set properties to None by default

* Fix typo
2019-03-31 21:02:45 +02:00
Paulus Schoutsen
f5076188ef Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00