adore_integration.py
Drop-in integration for adore_api.py.
Add two lines to adore_api.py after the app is created and CORS is applied:
from hardware_monitor.hardware_monitor_api import get_hardware_monitor_blueprint
app.register_blueprint(get_hardware_monitor_blueprint())
Then add the tab and panel to index.html (see adore_integration_snippet.html).
Alternatively, call register_with_adore_app(app) from within adore_api.py:
try:
from hardware_monitor.web_ui.adore_integration import register_with_adore_app
register_with_adore_app(app)
print("✓ hardware_monitor blueprint registered")
except ImportError as e:
print(f"⚠ hardware_monitor not available: {e}")