Skip to content

Commit

Permalink
[fix] extern bright_value sensor in dj
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutsuku committed Aug 11, 2021
1 parent 66158b3 commit 43c4b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/tuya_v2/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def _setup_entities(hass, device_ids: List):
),
)
)
if DPCODE_BRIGHT_VALUE in device.status:
if DPCODE_BRIGHT_VALUE in device.status and device.category != "dj":
entities.append(
TuyaHaSensor(
device,
Expand Down

0 comments on commit 43c4b89

Please sign in to comment.