mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
fix: 2023.6 compatibility (#607)
* fix: 2023.6.0 compatibility * ci: test with Python 3.11 against 2023.6.0b4 * Set 2023.06.0 * Bump to 2023.06.1 --------- Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
This commit is contained in:
parent
90b8d6089d
commit
12dae4b6a6
2 changed files with 14 additions and 3 deletions
15
.github/workflows/pytest.yaml
vendored
15
.github/workflows/pytest.yaml
vendored
|
|
@ -13,8 +13,19 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
core-version: ["2023.2.5", "2023.3.6", "2023.4.6", "2023.5.2", "dev"]
|
||||
include:
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.2.5"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.3.6"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.4.6"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.5.2"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.6.1"
|
||||
- python-version: "3.11"
|
||||
core-version: "dev"
|
||||
steps:
|
||||
- name: Check out code from GitHub
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
|||
|
|
@ -502,7 +502,7 @@ async def async_setup_entry(
|
|||
data[config_entry.entry_id][SWITCH_DOMAIN] = switch
|
||||
|
||||
async_add_entities(
|
||||
[switch, sleep_mode_switch, adapt_color_switch, adapt_brightness_switch],
|
||||
[sleep_mode_switch, adapt_color_switch, adapt_brightness_switch, switch],
|
||||
update_before_add=True,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue