Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

device atorch_s1wp add update interval entity #2049

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

Lxeon
Copy link
Contributor

@Lxeon Lxeon commented Jun 25, 2024

this entity can set the update interval of the device, default is 60 seconds

but if set it less than 60 seconds, it will be reset to 60 seconds after 5 minutes. it can use automate script for keep 1 second

icon: "mdi:update"
dps:
- id: 139
type: integer
Copy link
Owner

Choose a reason for hiding this comment

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

I think this requires optional: true. DP 139 does not appear in the log posted to #1103

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

Copy link

Choose a reason for hiding this comment

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

is it already available on the release?

Copy link
Owner

Choose a reason for hiding this comment

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

Yes, but it is only available, you still need to use an automation or UI action to start the updates.

Copy link

Choose a reason for hiding this comment

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

oh... so i have to use automation to prevent it going back to original 60 seconds, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh... so i have to use automation to prevent it going back to original 60 seconds, right?

yes, you can make trigger like this:

platform: state
entity_id:
  - number.ju_wei_dian_neng_bao_ji_kong_xing_s1wp_update_interval
to: "60"
from: null

@make-all make-all merged commit 6d86dea into make-all:main Jun 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants