Skip to content

Commit

Permalink
Indicator lights: correct some cases where class was used
Browse files Browse the repository at this point in the history
- should be translation_key, lights don't support classes

Noticed PR #2880 has copied it from somewhere, and found 3 occurrences.
  • Loading branch information
make-all committed Feb 4, 2025
1 parent f3ab067 commit 626623b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ entities:
name: sensor
unit: "%"
- entity: light
class: indicator
translation_key: indicator
dps:
- id: 8
type: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ entities:
type: boolean
name: switch
- entity: light
class: indicator
translation_key: indicator
category: config
dps:
- id: 102
Expand Down
2 changes: 1 addition & 1 deletion custom_components/tuya_local/devices/ts106_alarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ entities:
- dps_val: H
value: 1.0
- entity: light
class: indicator
translation_key: indicator
category: config
dps:
- id: 122
Expand Down

0 comments on commit 626623b

Please sign in to comment.