Add huawei_lte sensor for number of unread sms (#35665)

This commit is contained in:
Fabian Peter Hammerle 2020-06-03 11:59:06 +02:00 committed by GitHub
parent d14112748c
commit 8ccdaf2927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 2 deletions

View file

@ -22,6 +22,7 @@ from .const import (
KEY_MONITORING_TRAFFIC_STATISTICS,
KEY_NET_CURRENT_PLMN,
KEY_NET_NET_MODE,
KEY_SMS_SMS_COUNT,
SENSOR_KEYS,
)
@ -195,6 +196,9 @@ SENSOR_META = {
None,
),
),
(KEY_SMS_SMS_COUNT, "LocalUnread"): dict(
name="SMS unread", icon="mdi:email-receive",
),
}