From 318d921b91706b2513b4aa2074af2f30e3f6d2f3 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sun, 25 Aug 2024 09:00:56 -0700 Subject: [PATCH] docs: add MizterB as a contributor for code (#1039) --- .all-contributorsrc | 9 +++++++++ README.md | 3 ++- custom_components/adaptive_lighting/switch.py | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 7ac2c652..55053f56 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -873,6 +873,15 @@ "contributions": [ "translation" ] + }, + { + "login": "MizterB", + "name": "MizterB", + "avatar_url": "https://avatars.githubusercontent.com/u/5458030?v=4", + "profile": "https://github.com/MizterB", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index 37b29dc3..4b4031ec 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/hacs/integration) ![Version](https://img.shields.io/github/v/release/basnijholt/adaptive-lighting?style=for-the-badge) -[![All Contributors](https://img.shields.io/badge/all_contributors-95-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-96-orange.svg?style=flat-square)](#contributors-) # 🌞 Adaptive Lighting: Enhance Your Home's Atmosphere with Smart, Sun-Synchronized Lighting 🌙 @@ -587,6 +587,7 @@ Notice the values of `brightness_mode_time_light` and `brightness_mode_time_dark Björn Ebbinghaus
Björn Ebbinghaus

💻 Marck
Marck

💻 Lucho Gizdov
Lucho Gizdov

🌍 + MizterB
MizterB

💻 diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index 3b9448a9..98a33021 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -639,7 +639,8 @@ def _expand_light_groups( def _is_light_group(state: State) -> bool: return "entity_id" in state.attributes and not state.attributes.get( - "is_hue_group", False + "is_hue_group", + False, )