Skip to content

Commit

Permalink
add log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Lebe1ge committed Nov 9, 2024
1 parent db6dab7 commit a6227f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions custom_components/linus_dashboard/js/linus-strategy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion custom_components/linus_dashboard/js/linus-strategy.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/views/AbstractView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ abstract class AbstractView {
continue;
}

console.log("AbstractView ", this.#domain, area)

// Set the target for controller cards to the current area.
let target: HassServiceTarget = {
area_id: [area.area_id],
Expand Down Expand Up @@ -144,6 +146,7 @@ abstract class AbstractView {
const swipeCard = []

// Create a card for each domain-entity of the current area.
console.log("entities", entities)
for (const entity of entities) {
let cardOptions = Helper.strategyOptions.card_options?.[entity.entity_id];
let deviceOptions = Helper.strategyOptions.card_options?.[entity.device_id ?? "null"];
Expand Down

0 comments on commit a6227f1

Please sign in to comment.