diff --git a/lib/panels/panel_class.dart b/lib/panels/panel_class.dart index 47893b2..1ec6041 100644 --- a/lib/panels/panel_class.dart +++ b/lib/panels/panel_class.dart @@ -28,13 +28,7 @@ class Panel { } void handleOpen(BuildContext context) { - if (componentName == "config") { - Navigator.of(context).push( - MaterialPageRoute( - builder: (context) => PanelPage(title: "$title", panel: this), - ) - ); - } else if (componentName.startsWith('haclient')) { + if (componentName.startsWith('haclient')) { Navigator.of(context).pushNamed(urlPath); } else if (componentName == 'lovelace') { HomeAssistant().lovelaceDashboardUrl = this.urlPath;