Skip to content

[fork CI only] Hide a watch complication while the display is dimmed - #1

Closed
ViktorBarzin wants to merge 2 commits into
mainfrom
show-when-inactive
Closed

ViktorBarzin wants to merge 2 commits into
mainfrom
show-when-inactive

Conversation

@ViktorBarzin

Copy link
Copy Markdown
Owner

Fork-internal PR to run the full CI on GitHub-hosted runners before proposing this upstream. Not for merge.

Adds a "Show when inactive" toggle to the complication builder's
Customize sheet. When it is off, the complication shows the Home
Assistant logo while the watch display is dimmed (wrist down, Always
On) instead of its value. The setting already existed in the data
model and is synced to the watch; nothing read it or let the user
change it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

⚠️ Unused L10n strings detected

Found 2 unused localization strings in the codebase.

Click to see details
Parsing Strings.swift...
Found 3052 L10n strings

Reading all Swift source code...
Read 14101253 characters of Swift code

Checking for unused strings...
Checked 100/3052 strings...
Checked 200/3052 strings...
Checked 300/3052 strings...
Checked 400/3052 strings...
Checked 500/3052 strings...
Checked 600/3052 strings...
Checked 700/3052 strings...
Checked 800/3052 strings...
Checked 900/3052 strings...
Checked 1000/3052 strings...
Checked 1100/3052 strings...
Checked 1200/3052 strings...
Checked 1300/3052 strings...
Checked 1400/3052 strings...
Checked 1500/3052 strings...
Checked 1600/3052 strings...
Checked 1700/3052 strings...
Checked 1800/3052 strings...
Checked 1900/3052 strings...
Checked 2000/3052 strings...
Checked 2100/3052 strings...
Checked 2200/3052 strings...
Checked 2300/3052 strings...
Checked 2400/3052 strings...
Checked 2500/3052 strings...
Checked 2600/3052 strings...
Checked 2700/3052 strings...
Checked 2800/3052 strings...
Checked 2900/3052 strings...
Checked 3000/3052 strings...

================================================================================
UNUSED STRINGS REPORT
================================================================================

Found 2 unused strings:


SETTINGS:
  - L10n.Settings.ConnectionSection.connectingVia
    Key: settings.connection_section.connecting_via
    Line: 5301
  - L10n.Settings.ConnectionSection.loggedInAs
    Key: settings.connection_section.logged_in_as
    Line: 5309

================================================================================
Total unused: 2
================================================================================

================================================================================
Copy-paste these keys into the "Lokalise: Delete Keys" workflow (keys input):
================================================================================
settings.connection_section.connecting_via,settings.connection_section.logged_in_as

To remove them, run the
Lokalise: Delete Keys
workflow — it deletes the keys from Lokalise and opens a PR removing them from
Localizable.strings and regenerating Strings.swift. Copy-paste these keys into the keys input:

settings.connection_section.connecting_via,settings.connection_section.logged_in_as

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ViktorBarzin

Copy link
Copy Markdown
Owner Author

Superseded by home-assistant#6079.

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