Hello,
I am using a combination of Baby Buddy and Utility Meter to report on my little one’s eating habits. For example I have the following sensor:
utility_meter:
baby_daily_feeding:
source: sensor.baby_last_feeding
cycle: daily
delta_values: true
This gives me the total amount of food that the baby has eaten today (12:00am - Present time).
What I would like to do is be able to compare this reading to the exact same time window from yesterday (ie 12:00am yesterday - Present time yesterday). Is this possible? I tried using this but I don’t think I understand the offset function.
baby_daily_feeding_yesterday:
source: sensor.baby_last_feeding
cycle: daily
delta_values: true
offset:
days: 1
hours: 0
minutes: 0