Skip to content

Commit

Permalink
fix: Fix add_temp referencing date_time prior to existence
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgoette committed May 19, 2022
1 parent 319286d commit 36aab09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/babybuddy/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ async def async_add_temperature(
data = {
ATTR_CHILD: self.child[ATTR_ID],
ATTR_TEMPERATURE: temperature,
ATTR_TIME: date_time,
}
if time:
try:
Expand Down

0 comments on commit 36aab09

Please sign in to comment.