Skip to content

Commit

Permalink
update attr names
Browse files Browse the repository at this point in the history
  • Loading branch information
prairiesnpr committed Jan 16, 2025
1 parent 96d3fe3 commit 605c6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zhaquirks/tuya/ts0601_motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,13 +560,13 @@ class TuyaHumanMotionState(t.enum8):
)
.tuya_sensor(
dp_id=19,
attribute_name="distance",
attribute_name="target_distance",
type=t.uint16_t,
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.DISTANCE,
unit=UnitOfLength.CENTIMETERS,
entity_type=EntityType.STANDARD,
translation_key="distance",
translation_key="target_distance",
fallback_name="Target distance",
)
.skip_configuration()
Expand Down

0 comments on commit 605c6ba

Please sign in to comment.