Skip to content

Commit e6cfc61

Browse files
committed
Change Doorbell Device Class
1 parent 9af348a commit e6cfc61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firmware/base.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ binary_sensor:
307307
- platform: tcs_intercom
308308
id: entrance_doorbell
309309
name: "Entrance Doorbell"
310+
device_class: DOORBELL
310311
lambda: !lambda "return id(entrance_doorbell_command);"
311312
auto_off: 0.2s
312313
on_press:
@@ -377,6 +378,7 @@ binary_sensor:
377378
- platform: tcs_intercom
378379
id: apartment_doorbell
379380
name: "Apartment Doorbell"
381+
device_class: DOORBELL
380382
lambda: !lambda "return id(apartment_doorbell_command);"
381383
auto_off: 0.2s
382384
on_multi_click:
@@ -681,7 +683,6 @@ event:
681683
id: doorbell_pattern
682684
name: "Doorbell Pattern"
683685
icon: "mdi:doorbell"
684-
device_class: DOORBELL
685686
event_types:
686687
- "apartment_single"
687688
- "apartment_double"

0 commit comments

Comments
 (0)