File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ export class Chart extends LitElement {
145145 if ( c . calculating && c !== connection ) {
146146 throw new Error ( 'Circular reference detected in/near ' + JSON . stringify ( ent ) ) ;
147147 }
148- c . calculating = true ;
149148 this . connectionsByChild . get ( c . child ) ?. forEach ( conn => {
150149 if ( conn . parent !== parent ) {
151150 this . _calcConnection ( conn , accountedIn , accountedOut ) ;
@@ -160,7 +159,6 @@ export class Chart extends LitElement {
160159 if ( c . calculating && c !== connection ) {
161160 throw new Error ( 'Circular reference detected in/near ' + JSON . stringify ( ent ) ) ;
162161 }
163- c . calculating = true ;
164162 this . connectionsByParent . get ( c . parent ) ?. forEach ( conn => {
165163 if ( conn . child !== child ) {
166164 this . _calcConnection ( conn , accountedIn , accountedOut ) ;
@@ -491,7 +489,6 @@ export class Chart extends LitElement {
491489 let entity = this . states [ getEntityId ( entityConf ) ] ;
492490 if ( ! entity ) {
493491 if ( entityConf . type === 'passthrough' ) {
494- console . log ( 'entityConf' , entityConf ) ;
495492 const connections = this . connectionsByParent . get ( entityConf ) ;
496493 if ( ! connections ) {
497494 throw new Error ( 'Invalid entity config ' + JSON . stringify ( entityConf ) ) ;
You can’t perform that action at this time.
0 commit comments