Refrigerator door binary sensor deprecated

I have a Samsung refridgerator integrated through SmartThings.

After the last update I got a “repair” notice that “Refrigerator door binary sensor deprecated” with the details:

The refrigerator door binary sensor Door (binary_sensor.refrigerator_contact ) is deprecated and will be removed in the future. Separate entities for cooler and freezer door are available and should be used going forward. Please update your dashboards, templates accordingly and disable the entity to fix this issue.

I don’t think I have a problem, but I’m just making sure I’m understanding this correctly. I see for that device there are 3 relevant entities:
binary_sensor.refrigerator_contact
binary_sensor.refrigerator_cooler_door
binary_sensor.refrigerator_freezer_door

My assumption is that this error is just telling me that the first, refridgerator_contact, is no longer relevant and has been replaced by the other two? I just have to disable the refridgerator_contact and update any automations that use it to use one of the others? In a future update, the first one will be removed all together?

It’s a warning message for the developer. In some cases this can be yourself but in this case, it’s meant for the author of the smart things integration.

This is common when things change, there is a certain warning period before the change is made. It only should concern you if the integration is no longer being maintained. ST is in the core of HA, it will be fixed before the change is made.

No, this is a warning message for the user. We split up the binary sensor to be more specific and thus we have to remove the existing one and have people update automations, scripts and dashboards. We don’t want to maintain this forever so we deprecated it

2 Likes

How do we fix the warning then? I tried to delete that entity but the delete option is grayed out (disabled).

Or is the warning letting users know if they are using it in automations to change it and the developer will remove it from the integration after the depreciation period has lapsed?

and disable the entity to fix this issue

:slight_smile:

Awesome! Thats exactly what I did. Thanks

My fridge has 3 compartments and the ‘deprecated’ sensor is used for the 3rd/middle compartment. Can I just ignore this message or is that 3rd door sensor going to just stop working in October?