Skip to content

Commit

Permalink
Add test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
benbancroft committed Oct 30, 2024
1 parent 12543e9 commit d8d4c24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from zigpy.zcl import Cluster
from zigpy.zcl.clusters import general, homeautomation, hvac, measurement, smartenergy
from zigpy.zcl.clusters.manufacturer_specific import ManufacturerSpecificCluster
from zigpy.zcl.foundation import ReportingConfig

from tests.common import (
SIG_EP_INPUT,
Expand Down Expand Up @@ -1244,6 +1245,9 @@ def __init__(self, *args, **kwargs) -> None:
unit=UnitOfMass.GRAMS,
translation_key="last_feeding_size",
fallback_name="Last feeding size",
reporting_config=ReportingConfig(
min_interval=0, max_interval=60, reportable_change=1
),
)
.add_to_registry()
)
Expand Down

0 comments on commit d8d4c24

Please sign in to comment.