Skip to content

Multiple correction #446

Open
kamahat wants to merge 48 commits intobasbruss:mainfrom
kamahat:main
Open

Multiple correction #446
kamahat wants to merge 48 commits intobasbruss:mainfrom
kamahat:main

Conversation

@kamahat
Copy link
Copy Markdown
Contributor

@kamahat kamahat commented Mar 19, 2026

Code Optimization : Formal validation

  • fixes:

Integrate correction PR # 439
Correction for Lux sensor activation on restart
Suppress unused variables
Correct a Race condition between outside temp sensor withc is in witer mode and inside sensor in intermediary mode.
suppression spanish translation : cause error in integration
Bump actions/checkout from 4.2.1 to 6.0.0](#436

How has this been tested?

Test on my onw installation

Types of changes

  • [X ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking which updates existing code)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

kamahat added 30 commits March 19, 2026 23:28
Removed several optional configuration parameters and related logic from the Adaptive Cover integration's config flow.
Fix initialization of lux and irradiance toggles to True if the entities are configured, preventing issues during the first refresh.
This file implements the AdaptiveGeneralCover class and related data classes for managing cover states based on solar data and environmental conditions.
Fix synchronization issue on entity addition to Home Assistant.
Refactor config flow for Adaptive Cover integration, updating schemas and adding optional parameters.
Refactor helper functions to use type hints and remove unused code.
Added docstrings to setter methods for clarity.
…on property

Add a noqa comment to suppress linting warning for min_pos check.
Refactor climate mode data initialization to use named arguments for clarity and avoid pylint warnings. Ensure time variable is initialized to prevent UnboundLocalError.
Refactor get_current_temperature to return None if unavailable and handle 0.0°C correctly. Update checks for outside and inside temperatures to use None checks.
Fixes a bug where switches appear OFF after a restart by ensuring the update listener is registered properly.
Refactor normal_with_presence method to prioritize winter check over lux/weather conditions. Improve handling of sun presence for better solar heat capture.
Sun NOT in window          → default
Sun in window
  ├─ WINTER                → 100% open  (capture heat, regardless of lux/weather)
  ├─ SUMMER
  │   ├─ transparent blind → basic calculated  (sheer: shade only)
  │   └─ opaque blind      → 0% closed         (preserve indoor cool)
  └─ INTERMEDIATE
      ├─ overcast/low lux  → default
      └─ sunny             → basic calculated   (shade only)
@kamahat
Copy link
Copy Markdown
Contributor Author

kamahat commented Mar 23, 2026

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant