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.
Visual comparison of old configuration versus new configuration