Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Homeassistant Plant
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Archive
Home Assistant
Homeassistant Plant
Commits
166969c4
Unverified
Commit
166969c4
authored
11 months ago
by
Olen
Committed by
GitHub
11 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #177 from Olen/integration_fix_2024_7
Adding max_sub_interval to the integral sensor
parents
e867f36b
633cd492
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
custom_components/plant/sensor.py
+1
-0
1 addition, 0 deletions
custom_components/plant/sensor.py
with
1 addition
and
0 deletions
custom_components/plant/sensor.py
+
1
−
0
View file @
166969c4
...
...
@@ -536,6 +536,7 @@ class PlantTotalLightIntegral(IntegrationSensor):
unique_id
=
f
"
{
config
.
entry_id
}
-ppfd-integral
"
,
unit_prefix
=
None
,
unit_time
=
UnitOfTime
.
SECONDS
,
max_sub_interval
=
None
,
)
self
.
_unit_of_measurement
=
UNIT_DLI
self
.
_attr_icon
=
ICON_DLI
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment