-
-
Notifications
You must be signed in to change notification settings - Fork 16
Troubleshooting Browser Console Logs
raman325 edited this page Mar 28, 2026
·
1 revision
Browser console logs capture errors and warnings from LCM's frontend components — dashboard strategies, custom cards, and Lovelace rendering. They are essential for diagnosing UI issues.
- Open your Home Assistant dashboard in the browser.
- Press F12 (or Ctrl+Shift+J on Windows/Linux, Cmd+Option+J on Mac).
- Click the Console tab.
- Open your Home Assistant dashboard in the browser.
- Press F12 (or Ctrl+Shift+K on Windows/Linux, Cmd+Option+K on Mac).
- Click the Console tab.
- Enable the developer menu: Safari → Settings → Advanced → Show Develop menu.
- Open your Home Assistant dashboard.
- Press Cmd+Option+C or go to Develop → Show JavaScript Console.
The companion app does not expose a browser console directly. To capture frontend logs on mobile:
- Open your HA instance in a mobile browser (Chrome, Safari) instead of the companion app.
- For Android: connect the device via USB, open
chrome://inspecton your desktop Chrome, and use remote debugging. - For iOS: connect the device via USB, open Safari on your Mac, and use Develop → [device name] → [HA tab].
- Open the browser console before reproducing the issue.
- Clear the console (click the 🚫 icon or type
clear()) to remove old messages. - Reproduce the issue.
- Look for red (errors) and yellow (warnings) messages. Include all of them — don't try to pick out which ones seem relevant.
- Right-click in the console and select Save as... to download the full console log, or copy and paste the messages.
Tip: Share the full console output rather than individual error lines. Like backend logs, surrounding context matters — an earlier warning may explain a later error.
These are the types of issues where console logs are needed:
- Cards not rendering or showing errors
- Dashboard strategy not generating views
- Missing or incorrect entity data in the UI
- JavaScript errors after updating LCM or HA
- The full console output from before reproducing through the issue
- Your browser name and version (e.g., Chrome 130, Safari 18)
- Whether you're using the companion app or a browser
- A screenshot of the issue alongside the console logs
Getting Started
UI
- Add a UI for lock code management — overview & decision guide
- UI Strategies
- Custom Cards
Features
- Services and Actions
- Blueprints
- Tracking lock state change events
- Using Condition Entities
- Unsupported Condition Entities
- Notifications
Advanced
Development
Troubleshooting
FAQ
Supported Integrations