From da445e515b77500ca80630540c0c0668f8af4a37 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 29 Sep 2022 16:19:28 +0200 Subject: [PATCH] Rename options key in rainmachine (#79249) --- homeassistant/components/rainmachine/select.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/rainmachine/select.py b/homeassistant/components/rainmachine/select.py index 82dddfb8f3a..41383bffc4e 100644 --- a/homeassistant/components/rainmachine/select.py +++ b/homeassistant/components/rainmachine/select.py @@ -43,7 +43,7 @@ class FreezeProtectionSelectOption: class FreezeProtectionTemperatureMixin: """Define an entity description mixin to include an options list.""" - options: list[FreezeProtectionSelectOption] + extended_options: list[FreezeProtectionSelectOption] @dataclass @@ -63,7 +63,7 @@ SELECT_DESCRIPTIONS = ( entity_category=EntityCategory.CONFIG, api_category=DATA_RESTRICTIONS_UNIVERSAL, data_key="freezeProtectTemp", - options=[ + extended_options=[ FreezeProtectionSelectOption( api_value=0.0, imperial_label="32°F", @@ -128,7 +128,7 @@ class FreezeProtectionTemperatureSelect(RainMachineEntity, SelectEntity): self._api_value_to_label_map = {} self._label_to_api_value_map = {} - for option in description.options: + for option in description.extended_options: if unit_system == CONF_UNIT_SYSTEM_IMPERIAL: label = option.imperial_label else: