Commit Graph

189 Commits (d22472208f34e4ee2c248cbae019d8f182c26ead)

Author SHA1 Message Date
J. Nick Koston 0dfc86956b
Reduce flux_led dhcp matching complexity (#60934) 2021-12-03 20:26:15 +01:00
J. Nick Koston da2fb17d94
Update flux_led for upstream strict typing (#60800)
- Bump library to 0.25.10

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.2...0.25.10

- This is a squashed version of #60554 since that one keeps failing to restore the python env on 3.9
2021-12-02 10:55:06 +01:00
epenet 2b4a1ee7eb
Use dataclass properties in flux_led discovery (#60696)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 06:47:14 -10:00
GitHub Action c9589f763c [ci skip] Translation update 2021-12-01 00:17:12 +00:00
Franck Nijhof 7469f083fd
Migrate number mode to StrEnum (#60614) 2021-11-30 12:54:06 +01:00
J. Nick Koston c535f785a8
Bump flux_led to 0.25.2 (#60519)
- Fixes warm/cold values on RGBCW bulbs with newer firmware

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.1...0.25.2
2021-11-29 06:21:33 +01:00
J. Nick Koston a3e34c74db
Fix flux_led discovery missing responses (#60464) 2021-11-27 23:36:38 -08:00
J. Nick Koston adeeb99579
Bump flux_led to 0.25.1 (#60463)
* Bump flux_led to 0.25.1

- Fixes for older firmwares

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.0...0.25.1

* empty , pypi behind
2021-11-27 12:23:12 -06:00
J. Nick Koston fa2399030a
Bump flux_led to 0.25.0 (#60460)
* Bump flux_led to 0.25.0

* Refactor color_temp_to_white_levels and improve code coverage by @bdraco in https://github.com/Danielhiversen/flux_led/pull/185
* Adjust protocol to handle newer models that send 0xB0 responses by @bdraco in https://github.com/Danielhiversen/flux_led/pull/186
* Fix effects with floor lamps by @bdraco in https://github.com/Danielhiversen/flux_led/pull/188
* Add support for CCT protocol aka 0x1C models by @bdraco in https://github.com/Danielhiversen/flux_led/pull/187

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.24.38...0.25.0

* handle change in color_temp_to_white_levels
2021-11-27 18:24:42 +01:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
J. Nick Koston 53f1530756
Fix flux_led effect brightness in A2,A3 models (#60386)
- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.24.37...0.24.38
2021-11-25 22:33:01 -06:00
J. Nick Koston d504c1e3e8
Add support for flux_led 0xA2 devices (#60361) 2021-11-25 21:20:34 +01:00
J. Nick Koston 213be1f15e
Update flux_led to use async_set_brightness in the lib (#60315) 2021-11-25 12:41:32 +01:00
J. Nick Koston 5b199bcc6d
Use random effect from flux_led library (#60312) 2021-11-25 02:34:19 +01:00
J. Nick Koston 86cd46a0dd
Add support for adjusting effect brightness in flux_led (#60247) 2021-11-24 19:55:00 +01:00
J. Nick Koston ce369bb336
Reduce flux_led light turn on complexity (#60139) 2021-11-23 22:23:38 +01:00
J. Nick Koston 4af5cde738
Include model name in flux_led discovery when available (#60105) 2021-11-22 20:21:46 -06:00
J. Nick Koston cb3b19b000
Add support for adjusting flux_led effects speed (#59679) 2021-11-22 16:52:06 -08:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
J. Nick Koston f751d6e064
Add additional bulb ouis to flux_led (#59868) 2021-11-18 11:45:38 -05:00
GitHub Action 9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00:00
epenet 476a59d248
Adjust async_step_dhcp signature for strict typing (#59751)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 12:19:50 +01:00
J. Nick Koston 7122998307
Bump flux_led to 0.24.24 (#59740) 2021-11-15 23:13:37 +01:00
J. Nick Koston 3175bca37d
Bump flux_led to 0.24.21 (#59662) 2021-11-14 11:56:06 +01:00
J. Nick Koston c323815760
Ensure flux_led bulbs turn on even if brightness is 0 (#59661) 2021-11-13 21:55:23 -08:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
J. Nick Koston 977b3cbe98
Improve support for flux_led pixel/RBM controllers (#59325)
* Fetch flux_led effects from library

- Each model can have different effects

* Improve support for flux_led pixel/RBM controllers

- RBM effects 1-100 are now available

* empty
2021-11-07 19:13:42 -08:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
J. Nick Koston 23f0afa789
Bump flux_led to 0.24.17 (#59211)
* Bump flux_led to 0.24.16

- Changes: https://github.com/Danielhiversen/flux_led/compare/0.24.15...0.24.16

- Fixes turning on/off when device is out of sync internally (seen on 0x33 firmware 8)

- Fixes #59190

* Bump to .17 to fix typing
2021-11-06 13:34:10 +01:00
J. Nick Koston 2d48f4b65e
Bump flux_led to 0.24.15 (#59159)
- Changes: https://github.com/Danielhiversen/flux_led/compare/0.24.14...0.24.15

- Fixes color reporting for addressable devices
2021-11-05 11:27:52 -04:00
J. Nick Koston e57c60bb2f
Bump flux_led to 0.24.14 (#59121) 2021-11-04 20:10:47 -07:00
GitHub Action c8d8513a1a [ci skip] Translation update 2021-11-05 00:13:45 +00:00
GitHub Action 2f4b7fe809 [ci skip] Translation update 2021-11-03 00:11:55 +00:00
Erik Montnemery 56f746fd39
Coerce to tuple before asserting the sequence (#58672) 2021-10-30 16:50:24 +02:00
J. Nick Koston 3732ae738e
Fix flux_led with RGB/W bulbs (model 0x44) (#58438) 2021-10-25 21:53:13 -05:00
GitHub Action 30fb619095 [ci skip] Translation update 2021-10-24 00:12:57 +00:00
Robert Hillis 63646a19cc
Use DeviceInfo Class F-G (#58255) 2021-10-23 12:01:21 +02:00
J. Nick Koston cafb3067ce
Bump flux_led to 0.24.12 (#58071) 2021-10-20 09:02:02 +02:00
J. Nick Koston 4f0886fd7d
Bump flux_led to 0.24.11 (#58020) 2021-10-19 11:40:35 -10:00
Brian Egge 708f2ae089
Fix issue parsing color effect None in flux_led (#57979)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-18 20:36:25 -10:00
J. Nick Koston 5138efcd92
Bump flux_led to 0.24.9 (#58006)
- Adds missing description for 0x04 models
2021-10-18 19:27:26 -07:00
J. Nick Koston 698f3ca96c
Bump flux_led to 0.24.8 (#57934) 2021-10-18 06:52:17 -10:00
J. Nick Koston 284861c8bb
Add support for push updates to flux_led (#57890) 2021-10-17 08:47:35 -10:00
J. Nick Koston d46ae04ec7
Add additional models to flux_led DHCP discovery (#57881) 2021-10-16 18:43:41 -10:00
GitHub Action c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
J. Nick Koston 76b6fce19c
Avoid exposing effects to flux_led lights that do not support them (#57810) 2021-10-15 18:54:00 -10:00
GitHub Action 34fee4ba60 [ci skip] Translation update 2021-10-16 00:12:06 +00:00
J. Nick Koston faf5c2eb40
Add discovery support for single channel magichome controllers (#57736) 2021-10-14 20:53:35 -07:00
J. Nick Koston d3e24cc1d6
Bump flux_led to 0.24.5 (#57653)
- Fixes fallback to old protocol with asyncio

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.24.4...0.24.5
2021-10-14 11:15:29 +03:00
J. Nick Koston abcacd2a00
Use a human readable model name in flux_led (#57519) 2021-10-12 21:40:49 -07:00
J. Nick Koston f41aedc0f9
Fix single channel controllers with flux_led (#57458) 2021-10-12 21:40:18 -07:00
GitHub Action 10b62370ff [ci skip] Translation update 2021-10-12 00:12:28 +00:00
J. Nick Koston 02c30aed5e
Add DHCP discovery for additional Zengge devices, generic magichome strips (#57408) 2021-10-11 07:20:24 -10:00
J. Nick Koston 381301d978
Add the switch platform to flux_led (#57444) 2021-10-11 07:20:11 -10:00
J. Nick Koston e148939b78
Convert flux_led to use asyncio (#57440) 2021-10-10 15:12:54 -10:00
icemanch 3efbd6a1c9
Flux led color support (#57353)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-10 09:18:15 -10:00
GitHub Action d55a7e5cc7 [ci skip] Translation update 2021-10-09 00:11:46 +00:00
GitHub Action 01d883d7c9 [ci skip] Translation update 2021-10-08 00:13:12 +00:00
GitHub Action 8fea54fff7 [ci skip] Translation update 2021-10-07 00:10:57 +00:00
J. Nick Koston 7e5dfadc27
Add sw_version and model to flux_led device info (#56958) 2021-10-05 14:53:39 -10:00
J. Nick Koston 286ffb2d71
Write flux_led state after turning on/off (#57152) 2021-10-05 14:49:42 -10:00
J. Nick Koston d60f6a9943
Add additional devices to flux_led discovery (#57086) 2021-10-05 13:06:17 -10:00
Paulus Schoutsen eb9b9c57a4 [ci skip] Translation update 2021-10-04 08:38:24 -07:00
GitHub Action a4530d2bfc [ci skip] Translation update 2021-10-04 00:11:57 +00:00
GitHub Action 06602e6cc5 [ci skip] Translation update 2021-10-03 00:13:50 +00:00
icemanch a95c6b10f7
Flux led config flow (#56354)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-02 07:19:36 -10:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Franck Nijhof 8a56dbf587
Add flake8 comprehensions checks to pre-commit & CI (#48111) 2021-03-19 13:41:09 +01:00
Erik Montnemery e4333a7a44
Rename Light to LightEntity (#34593) 2020-04-26 18:49:41 +02:00
Franck Nijhof 6f1900c6f4
Replace OSError aliases with OSError (#33655) 2020-04-04 22:09:11 +02:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
springstan ad102b3840
Use f-strings in integrations starting with "F"and"G" (#32150)
* Use f-strings in integrations starting with F

* Use f-strings in tests for integrations starting with F

* Use f-strings in integrations starting with G

* Use f-strings in tests for integrations starting with G

* Fix pylint error

* Fix broken test
2020-02-24 17:54:20 -08: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
Bas Nijholt ca0fad2cbb Sort imports according to PEP8 for components starting with "F" (#29766) 2019-12-09 14:14:40 +01:00
Daniyar Yeralin 54361342ba Introduce SUPPORT_COLOR_TEMP for flux_led component (#26692)
* Introduce SUPPORT_COLOR_TEMP for flux_led component

* Make black linter happy

* Remove duplicate SUPPORT_COLOR_TEMP

* Make linter happy
2019-11-01 00:15:20 +01:00
Quentame 22b904f5e0 Move imports in flux_led component (#27822) 2019-10-17 17:15:18 -07:00
Kevin Eifinger 04ead6f273 move ATTR_MODE to homeassistant.const (#27118) 2019-10-02 09:33:47 -07:00
Franck Nijhof c7da781efc Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
Anders Melchiorsen 2f7c57b257 Revert flux_led to 0.89 (#25653)
* Revert Black

* Revert "Introduce support for color temperature (#25503)"

This reverts commit e1d884a484.

* Revert "Fix flux_led only-white controllers (#22210)"

This reverts commit 48138189b3.

* Revert "Fix MagicHome LEDs with flux_led component (#20733)"

This reverts commit 1444a684e0.

* Re-Black

* Use mode detection for scanned bulbs
2019-08-02 17:00:22 +02:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Daniyar Yeralin e1d884a484 Introduce support for color temperature (#25503)
* Introduce support for color temperature

* Fix linter errors

* Remove extra whitespace for pylint
2019-07-31 11:10:52 -07:00
Sidney 48138189b3 Fix flux_led only-white controllers (and remove explicit declaration as RGBW in automatic add) (#22210)
* Remove explicit declaration of automatic found devices as RGBW

* fixes for Magic Home only-white controllers

* mode is now set to None instead of removed entirely

* flux_led now changes no values when turned on from off state.

* better checking for changed values in turn_on

* Reduce waiting time to 1 second

* Correction of turn on logic

* Remove accidentally inserted 'not'

* Remove lint

* Remove redundant code
2019-04-15 17:07:15 -07:00
cgtobi 2c07bfb9e0 Remove dependencies and requirements (#23024)
* 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 cfe4cf30ad
Add manifests (#22699)
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein 048b100eea Clean up docstrings (#22679)
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen f5076188ef
Consolidate all platforms that have no tests (#22096)
* 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