Skip to content

Commit e44f291

Browse files
author
GitHub Copilot
committed
fix: make offset optional in options flow to remove asterisk
1 parent a5d947f commit e44f291

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.3] - 2026-01-16
9+
10+
### Fixed
11+
- **UI Consistency**: The "Offset/Margin" field in the options flow is now correctly marked as optional (no asterisk), matching the behavior in the initial setup flow. This cosmetic fix ensures clearer UI for users.
12+
813
## [0.3.2] - 2026-01-15
914

1015
### Fixed

custom_components/max_min/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ async def async_step_init(self, user_input=None):
229229
vol.Optional(CONF_DEVICE_ID, description={"suggested_value": default_device}): selector.DeviceSelector(
230230
selector.DeviceSelectorConfig()
231231
),
232-
vol.Required(
232+
vol.Optional(
233233
CONF_OFFSET,
234234
default=default_offset,
235235
): selector.NumberSelector(

custom_components/max_min/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"iot_class": "local_push",
99
"issue_tracker": "https://github.com/PacmanForever/max-min/issues",
1010
"requirements": [],
11-
"version": "0.3.2"
11+
"version": "0.3.3"
1212
}

0 commit comments

Comments
 (0)