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

pull/44175/head
Maciej Bieniek 2020-12-08 08:19:57 +01:00 committed by Franck Nijhof
parent ec4b23173c
commit 8ad0b9845e
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 0 deletions

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",