File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
homeassistant/components/bthome Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 6363 ),
6464 BTHomeBinarySensorDeviceClass .GENERIC : BinarySensorEntityDescription (
6565 key = BTHomeBinarySensorDeviceClass .GENERIC ,
66+ translation_key = "generic" ,
6667 ),
6768 BTHomeBinarySensorDeviceClass .LIGHT : BinarySensorEntityDescription (
6869 key = BTHomeBinarySensorDeviceClass .LIGHT ,
@@ -159,10 +160,7 @@ def sensor_update_to_bluetooth_data_update(
159160 device_key_to_bluetooth_entity_key (device_key ): sensor_values .native_value
160161 for device_key , sensor_values in sensor_update .binary_entity_values .items ()
161162 },
162- entity_names = {
163- device_key_to_bluetooth_entity_key (device_key ): sensor_values .name
164- for device_key , sensor_values in sensor_update .binary_entity_values .items ()
165- },
163+ entity_names = {},
166164 )
167165
168166
Original file line number Diff line number Diff line change 4747 }
4848 },
4949 "entity" : {
50+ "binary_sensor" : {
51+ "generic" : {
52+ "name" : " Generic"
53+ }
54+ },
5055 "event" : {
5156 "button" : {
5257 "state_attributes" : {
You can’t perform that action at this time.
0 commit comments