Add the missing ATTR_ENABLED attribute to Brother integration list of sensors (#44036)

This commit is contained in:
Maciej Bieniek 2020-12-08 08:19:57 +01:00 committed by GitHub
parent 5f4f6dea6b
commit 572d4cfbe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,7 @@ SENSOR_TYPES = {
ATTR_ICON: "mdi:printer-3d",
ATTR_LABEL: ATTR_PF_KIT_MP_REMAINING_LIFE.replace("_", " ").title(),
ATTR_UNIT: PERCENTAGE,
ATTR_ENABLED: True,
},
ATTR_BLACK_TONER_REMAINING: {
ATTR_ICON: "mdi:printer-3d-nozzle",