From e6a6e6c9e2d2a1b9d29d9ca3add2df81875a75a6 Mon Sep 17 00:00:00 2001 From: tsightler Date: Sat, 21 Jan 2023 16:07:36 -0500 Subject: [PATCH] Only pro versions have nightlight --- devices/chime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/chime.js b/devices/chime.js index 797007a7..5041d99e 100644 --- a/devices/chime.js +++ b/devices/chime.js @@ -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",