diff --git a/README.md b/README.md
index b952b33..bb4c90d 100644
--- a/README.md
+++ b/README.md
@@ -192,7 +192,7 @@ Also this card will detect these icons installed and will use them prior to HA i
disableOffShadow |
boolean |
no |
- deprecated in 1.3.0 |
+ removed in 1.6.0 |
false |
If turned on, the card will not have inner shadow, when all lights are off. |
diff --git a/src/types/config.ts b/src/types/config.ts
index 1e6b0da..7d109ba 100644
--- a/src/types/config.ts
+++ b/src/types/config.ts
@@ -43,12 +43,7 @@ export class HueLikeLightCardConfig implements HueLikeLightCardConfigInterface {
this.offColor = plainConfig.offColor || Consts.OffColor;
this.wasOffColorSet = !!plainConfig.offColor;
this.hueScreenBgColor = plainConfig.hueScreenBgColor || Consts.DialogBgColor;
-
- if (plainConfig.disableOffShadow != null) {
- console.warn("[HueLikeLightCard] Use 'offShadow' (with inverted value) property instead of deprecated 'disableOffShadow'");
- }
-
- this.offShadow = HueLikeLightCardConfig.getBoolean(plainConfig.offShadow, !HueLikeLightCardConfig.getBoolean(plainConfig.disableOffShadow, false));
+ this.offShadow = HueLikeLightCardConfig.getBoolean(plainConfig.offShadow, true);
this.hueBorders = HueLikeLightCardConfig.getBoolean(plainConfig.hueBorders, true);
this.style = plainConfig.style;
@@ -196,12 +191,6 @@ export class HueLikeLightCardConfig implements HueLikeLightCardConfigInterface {
public readonly offColor: string;
public readonly hueScreenBgColor: string;
public readonly offShadow: boolean;
- /**
- * @deprecated Use offShadow instead.
- */
- public get disableOffShadow() {
- return !this.offShadow;
- }
public readonly hueBorders: boolean;
/** Support for card-mod styling */
diff --git a/src/types/types-config.ts b/src/types/types-config.ts
index b3f189d..9607ff6 100644
--- a/src/types/types-config.ts
+++ b/src/types/types-config.ts
@@ -203,10 +203,6 @@ export interface HueLikeLightCardConfigInterface extends ConfigEntityInterface {
readonly offColor?: string;
readonly hueScreenBgColor?: string;
readonly offShadow?: boolean;
- /**
- * @deprecated Use offShadow instead.
- */
- readonly disableOffShadow?: boolean;
readonly hueBorders?: boolean;
/** Support for card-mod styling */