Skip to content

sleep state - run idle scripts and allow to control the backlight - #582

Merged
fvanroie merged 1 commit into
HASwitchPlate:masterfrom
perexg:topic/idle-scripts
Nov 29, 2023
Merged

fvanroie merged 1 commit into
HASwitchPlate:masterfrom
perexg:topic/idle-scripts

Conversation

@perexg

@perexg perexg commented Nov 29, 2023

Copy link
Copy Markdown
Contributor

The idle scripts are not executed when the sleep state changes based on the system timer. Make things consistent.

EDIT: Added second patch to allow set the dimming values per idle states using web server.

@perexg perexg changed the title always run idle scripts when sleep state changes sleep state - run idle scripts and allow to control the backlight Nov 29, 2023

@fvanroie fvanroie 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.

This can already be accomplished with idle scripts.

@perexg
perexg force-pushed the topic/idle-scripts branch from 12bd214 to e092b72 Compare November 29, 2023 19:42
@perexg

perexg commented Nov 29, 2023

Copy link
Copy Markdown
Contributor Author

As you like, but I think that this is really common settings, so it belongs to the http config ui. Removed the second patch, let me know, if you like to do a separate PR for the second one.

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.

2 participants