Skip to content

SG-43999: add custom entity config features - #456

Open
fauverick wants to merge 1 commit into
masterfrom
ticket/SG-43999_custom_entity
Open

SG-43999: add custom entity config features#456
fauverick wants to merge 1 commit into
masterfrom
ticket/SG-43999_custom_entity

Conversation

@fauverick

@fauverick fauverick commented Aug 3, 2026

Copy link
Copy Markdown

This PR introduces 4 new functions that allow users to configure custom entity (previously can only be done through the UI):

  • custom_entity_read: read the config of a custom entity
  • custom_entity_enable: enable & set the display name/configuration flags of a custom entity
  • custom_entity_update: update the display name/configuration flags of an enabled custom entity
  • custom_entity_disable: disable a custom entity. Will return an error if the custom entity currently has existing records. Require passing force=True to disable anyway.

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.13%. Comparing base (db056df) to head (c272359).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #456      +/-   ##
==========================================
+ Coverage   78.76%   79.13%   +0.36%     
==========================================
  Files           7        7              
  Lines        1851     1874      +23     
==========================================
+ Hits         1458     1483      +25     
+ Misses        393      391       -2     
Flag Coverage Δ
Linux 79.13% <100.00%> (+0.36%) ⬆️
Python-3.10 79.08% <100.00%> (+0.36%) ⬆️
Python-3.11 79.08% <100.00%> (+0.36%) ⬆️
Python-3.13 79.08% <100.00%> (+0.36%) ⬆️
Python-3.9 79.07% <100.00%> (+0.36%) ⬆️
Windows 79.19% <100.00%> (+0.33%) ⬆️
macOS 79.13% <100.00%> (+0.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fauverick
fauverick force-pushed the ticket/SG-43999_custom_entity branch from adc5a07 to 575eb08 Compare August 3, 2026 21:32
@fauverick
fauverick force-pushed the ticket/SG-43999_custom_entity branch from 575eb08 to c272359 Compare August 3, 2026 22:33
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