Skip to content

Commit

Permalink
Only pro versions have nightlight
Browse files Browse the repository at this point in the history
  • Loading branch information
tsightler committed Jan 21, 2023
1 parent 46f0d78 commit e6a6e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/chime.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class Chime extends RingPolledDevice {
component: 'switch',
icon: 'hass:bell-ring'
},
...this.deviceType.startsWith('chime_pro') ? {
...this.device.deviceType.startsWith('chime_pro') ? {
nightlight_enabled: {
component: 'switch',
icon: "mdi:lightbulb-night",
Expand Down

0 comments on commit e6a6e6c

Please sign in to comment.