Skip to content

Commit

Permalink
v2024.6.12 added one debug statement for #370
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenterheerdt committed Jun 16, 2024
1 parent 2ff6387 commit 0abf0aa
Show file tree
Hide file tree
Showing 4 changed files with 10,760 additions and 350 deletions.
3 changes: 3 additions & 0 deletions custom_components/smart_irrigation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@ async def apply_aggregates_to_mapping_data(self, mapping):
diff_in_hours = abs(diff_in_hours)
hour_multiplier = diff_in_hours / 24
resultdata[const.MAPPING_DATA_MULTIPLIER] = hour_multiplier
_LOGGER.debug(
f"[apply_aggregates_to_mapping_data]: first_retrieved_at: {first_retrieved_at}, last_retrieved_at: {last_retrieved_at}, diff_in_seconds: {diff.total_seconds()}, diff_in_hours: {diff_in_hours}, hour_multiplier: {hour_multiplier}"
)

for key, d in data_by_sensor.items():
if len(d) > 1:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/smart_irrigation/const.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Store constants."""

VERSION = "v2024.6.11"
VERSION = "v2024.6.12"
NAME = "Smart Irrigation"
MANUFACTURER = "@jeroenterheerdt"

Expand Down
Loading

0 comments on commit 0abf0aa

Please sign in to comment.