Skip to content

Commit

Permalink
removed consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Feb 4, 2019
1 parent 54697a4 commit ab822fc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions light-entity-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ class LightEntityCard extends LitElement {
* @param {LightEntity} entity
*/
setBrightness(event, entity){
console.log('test');

const brightness = parseInt(event.target.value, 10);
if (isNaN(brightness)) return;

Expand Down Expand Up @@ -421,9 +419,7 @@ class LightEntityCard extends LitElement {
* @param {String} state
*/
callEntityService(payload, entity, state){
console.log({ payload, entity, state, _isUpdating:this._isUpdating});
if(this._isUpdating) return;

const entityType = entity.entity_id.split('.')[0];

this.hass.callService(entityType, state || LightEntityCard.cmdToggle.on, {
Expand Down

0 comments on commit ab822fc

Please sign in to comment.