Skip to content

Commit

Permalink
Introduce new parameters to hide history and logbook (#2)
Browse files Browse the repository at this point in the history
* Introduce new parameters to hide history and logbook

* Hide history and logbook also in ON_LOVELACE_HISTORY_AND_LOGBOOK_DIALOG_OPEN

* Fix all filter parameter
  • Loading branch information
elchininet authored Jan 1, 2024
1 parent 4704329 commit 7a5cf95
Show file tree
Hide file tree
Showing 6 changed files with 407 additions and 133 deletions.
2 changes: 1 addition & 1 deletion custom-more-info.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ export const NAME = 'Custom-more-info';
export const DESCRIPTION = 'Custom more-info for Home Assistant';
export const URL = 'https://github.com/Mariusthvdb/custom-more-info';

export const STYLES_PREFIX = 'custom_more_info';
export const MAX_ATTEMPTS = 500;
export const RETRY_DELAY = 50;

export enum SELECTOR {
HUI_VIEW = 'hui-view',
MORE_INFO_CONTENT = 'more-info-content',
MORE_INFO_HSTORY = 'ha-more-info-history',
MORE_INFO_LOGBOOK = 'ha-more-info-logbook',
HA_ATTRIBUTES = 'ha-attributes'
}

Expand Down
Loading

0 comments on commit 7a5cf95

Please sign in to comment.