--- title: "How Lovelace Works" description: "Explains how Lovelace works under the hood." --- The old user interface relied solely on the state machine. This caused trouble as it meant that the state machine was now not only the source for device states, but also for user interface configuration. With Lovelace, we're taking a completely different approach. All user interface configuration will live in a separate file, controlled by the user.

Diagram showing how states no longer contain UI configuration. Visual comparison of old configuration versus new configuration