Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwroc committed Oct 22, 2023
1 parent e8928ff commit b73b3a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const getColorInterpolationForPercentage = function (colors: string[], pct: numb
*/
const isColorGradientValid = (gradientColors: string[]) => {
if (gradientColors.length < 2) {
log("Value for 'color_gradient' should be an array with at least 2 colors..");
log("Value for 'color_gradient' should be an array with at least 2 colors.");
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/entity-fields/charging-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { log, safeGetArray } from "../utils";
if (chargingConfig.entity_id) {
entityWithChargingState = hass.states[chargingConfig.entity_id]
if (!entityWithChargingState) {
log(`'charging_state' entity id (${chargingConfig.entity_id}) not found`);
log(`'charging_state' entity id (${chargingConfig.entity_id}) not found.`);
return false;
}

Expand Down

0 comments on commit b73b3a1

Please sign in to comment.