Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended entity data like area or device #671

Merged
merged 10 commits into from
Feb 11, 2024
Merged

Extended entity data like area or device #671

merged 10 commits into from
Feb 11, 2024

Conversation

maxwroc
Copy link
Owner

@maxwroc maxwroc commented Feb 8, 2024

Few changes:

  • Added device object to the entity data. This means users will be able to display device related properties via KString
  • Added area object to entity data whenever device/entity is added to the area
  • Added display data object
  • Debug setting which allows user to print all of the entity data available

@maxwroc maxwroc added the enhancement New feature or request label Feb 8, 2024
}

if (this.config.debug === true || this.config.debug === this.config.entity) {
console.log(this.entityData);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove console.log

@maxwroc maxwroc merged commit 3dbea71 into vNext Feb 11, 2024
1 check passed
@maxwroc maxwroc deleted the ExtEntityData branch February 11, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant