Skip to content

Commit 85cd3c6

Browse files
authored
Remove redundant Z-Wave binary sensor entity_description arg (home-assistant#156323)
1 parent 1b0b6e6 commit 85cd3c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

homeassistant/components/zwave_js/binary_sensor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,7 @@ def async_add_binary_sensor(
393393
and is_valid_notification_binary_sensor(info)
394394
):
395395
entities.extend(
396-
ZWaveNotificationBinarySensor(
397-
config_entry, driver, info, state_key, info.entity_description
398-
)
396+
ZWaveNotificationBinarySensor(config_entry, driver, info, state_key)
399397
for state_key in info.primary_value.metadata.states
400398
if int(state_key) not in info.entity_description.not_states
401399
and (

0 commit comments

Comments
 (0)