Skip to content

Commit

Permalink
maint: Disable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Dec 25, 2023
1 parent 96474cb commit a63b1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/homelink/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ class HomeLINKEntityDescription(


SENSOR_TYPES: tuple[HomeLINKEntityDescription, ...] = (
HomeLINKEntityDescription(
HomeLINKEntityDescription( # pylint: disable=unexpected-keyword-arg
key=ATTR_REPLACEDATE,
name=ENTITY_NAME_REPLACEDATE,
device_class=SensorDeviceClass.DATE,
value_fn=lambda data: data.replacedate.date() or None,
),
HomeLINKEntityDescription(
HomeLINKEntityDescription( # pylint: disable=unexpected-keyword-arg
key=ATTR_LASTTESTDATE,
name=ENTITY_NAME_LASTTESTDATE,
device_class=SensorDeviceClass.TIMESTAMP,
Expand Down

0 comments on commit a63b1bb

Please sign in to comment.