diff --git a/src/app/entity/entity.component.css b/src/app/entity/entity.component.css
index 2f613fb..e95a034 100644
--- a/src/app/entity/entity.component.css
+++ b/src/app/entity/entity.component.css
@@ -20,4 +20,8 @@
padding: .25rem .75rem;
border-radius: 1rem;
/* width: 100%; */
+}
+
+.buttonOff path{
+ fill:#535353;
}
\ No newline at end of file
diff --git a/src/app/entity/entity.component.html b/src/app/entity/entity.component.html
index c605766..7fda1d1 100644
--- a/src/app/entity/entity.component.html
+++ b/src/app/entity/entity.component.html
@@ -16,9 +16,9 @@
@@ -49,7 +49,7 @@
Value Template
-
+
@@ -57,7 +57,15 @@
diff --git a/src/app/entity/entity.component.ts b/src/app/entity/entity.component.ts
index 0842e2d..245446c 100644
--- a/src/app/entity/entity.component.ts
+++ b/src/app/entity/entity.component.ts
@@ -55,7 +55,7 @@ export class EntityComponent {
select_type(event: unknown) {
let ent_type = entity_types[event as keyof typeof entity_types]
let ent_class = ent_type[1];
- if (typeof ent_class === 'function') {
+ if (typeof ent_class === 'function' && event != 0) {
this.basemodel = new ent_class();
this.generatorService.selected_entity = this.basemodel
} else this.generatorService.selected_entity = null
diff --git a/src/app/generator/generator.component.html b/src/app/generator/generator.component.html
index e7005af..4b59326 100644
--- a/src/app/generator/generator.component.html
+++ b/src/app/generator/generator.component.html
@@ -1,5 +1,5 @@
- MQTT Discovery Creator:
+ MQTT Discovery Creator