Skip to content

Added skill to turn on/off the phone flashlight - #374

Merged
Stypox merged 6 commits into
DicioTeam:masterfrom
tylxr59:add-flashlight-skill
Feb 21, 2026
Merged

Stypox merged 6 commits into
DicioTeam:masterfrom
tylxr59:add-flashlight-skill

Conversation

@tylxr59

@tylxr59 tylxr59 commented Dec 14, 2025 •

Copy link
Copy Markdown
Contributor

Pretty basic implementation but it works! The sentences might need some work, I could see it interfering with smart home functions in the future (specifically the "turn on/off the light".

Resolves #341

Comment thread app/src/main/res/values/strings.xml Outdated
Comment thread app/src/main/kotlin/org/stypox/dicio/skills/flashlight/FlashlightSkill.kt Outdated
Stypox
Stypox previously approved these changes Feb 21, 2026

@Stypox Stypox left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I pushed some improvements to the error handling (just showing a generic error message while swallowing the exception is generally not a good idea), and improved the sentences (no need for () around | groups, and moreover the sentences could be compacted).
Also thanks to Inhishonor for the review!

@Stypox
Stypox force-pushed the add-flashlight-skill branch from cc24545 to 36ccf86 Compare February 21, 2026 17:46
@Stypox
Stypox merged commit 3fcc5b9 into DicioTeam:master Feb 21, 2026
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.

Flashlight Skill

3 participants