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

Add ownKeys & has operators to proxies #64

Merged
merged 4 commits into from
Sep 1, 2024
Merged

Add ownKeys & has operators to proxies #64

merged 4 commits into from
Sep 1, 2024

Conversation

zoe-codez
Copy link
Member

@zoe-codez zoe-codez commented Sep 1, 2024

📬 Changes

add ownKeys, has, apply, set as appropriate (and sometimes inappropriate) to hass.call & entity refs

const reference = hass.refBy.id("...");
if( "turn_on" in reference ) {
 // do stuff
}

🗒️ Checklist

  • Read the contribution guide and accept the
    code of conduct
  • Readme and docs (updated or not needed)
  • Tests (added, updated or not needed)

Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.19%. Comparing base (c14ab52) to head (2bc487d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   76.72%   77.19%   +0.46%     
==========================================
  Files          36       36              
  Lines        1431     1460      +29     
  Branches      174      177       +3     
==========================================
+ Hits         1098     1127      +29     
+ Misses        313      312       -1     
- Partials       20       21       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zoe-codez zoe-codez merged commit 2198da7 into main Sep 1, 2024
1 check passed
@zoe-codez zoe-codez deleted the proxy_methods branch September 1, 2024 19:56
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.

1 participant