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

Optimize event emit and command management #97

Closed
wants to merge 9 commits into from

Conversation

atrovato
Copy link
Owner

Pull Request check-list

To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:

  • If your changes affects code, did your write the tests?
  • Are tests passing? (npm test on both front/server)
  • Is the linter passing? (npm run eslint on both front/server)
  • Did you run prettier? (npm run prettier on both front/server)
  • If you are adding a new features/services, did you run integration comparator? (npm run compare-translations on front)
  • Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community for testing before merging.
  • If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
  • If you are adding a new features/services which needs explanation, did you modify the user documentation? See the GitHub repo and the website.
  • Did you add fake requests data for the demo mode (front/src/config/demo.js) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com.

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

@cloudflare-pages
Copy link

cloudflare-pages bot commented May 18, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a31ed1b
Status: ✅  Deploy successful!
Preview URL: https://a3da2823.gladys.pages.dev
Branch Preview URL: https://google-actions-limit-events.gladys.pages.dev

View logs

@codecov
Copy link

codecov bot commented May 18, 2023

Codecov Report

Merging #97 (855a64d) into master (bd9c38b) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
+ Coverage   97.80%   97.82%   +0.02%     
==========================================
  Files         705      705              
  Lines       10872    10892      +20     
==========================================
+ Hits        10633    10655      +22     
+ Misses        239      237       -2     
Impacted Files Coverage Δ
server/lib/device/device.saveStringState.js 100.00% <ø> (ø)
server/services/rtsp-camera/lib/startStreaming.js 100.00% <ø> (ø)
server/services/zigbee2mqtt/exposes/numericType.js 100.00% <ø> (ø)
server/utils/constants.js 100.00% <ø> (ø)
server/lib/device/device.newStateEvent.js 92.85% <100.00%> (+11.03%) ⬆️
server/lib/room/room.getBySelector.js 100.00% <100.00%> (ø)
...e-actions/lib/smarthome/googleActions.onExecute.js 100.00% <100.00%> (+2.22%) ⬆️
...tions/lib/traits/googleActions.brightness.trait.js 100.00% <100.00%> (ø)
...ons/lib/traits/googleActions.colorSetting.trait.js 100.00% <100.00%> (ø)
...le-actions/lib/traits/googleActions.onOff.trait.js 100.00% <100.00%> (ø)
... and 4 more

@atrovato atrovato force-pushed the google-actions-limit-events branch from a31ed1b to 855a64d Compare May 27, 2023 10:14
@atrovato atrovato closed this Jun 12, 2023
@atrovato atrovato deleted the google-actions-limit-events branch June 12, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants