Revert "Set update entity names like Supervisor entity names"

This reverts commit e22a4c1295.
This commit is contained in:
Sergio Mayoral Martinez 2022-08-17 15:45:50 +02:00
parent 34b373f3ee
commit bd9009be47

View file

@ -24,7 +24,7 @@ class MikrotikUpdateEntityDescription(UpdateEntityDescription):
SENSOR_TYPES = { SENSOR_TYPES = {
"system_rosupdate": MikrotikUpdateEntityDescription( "system_rosupdate": MikrotikUpdateEntityDescription(
key="system_rosupdate", key="system_rosupdate",
name="RouterOS Update", name="RouterOS update",
ha_group="System", ha_group="System",
data_path="fw-update", data_path="fw-update",
data_name="", data_name="",
@ -34,7 +34,7 @@ SENSOR_TYPES = {
), ),
"system_rbfwupdate": MikrotikUpdateEntityDescription( "system_rbfwupdate": MikrotikUpdateEntityDescription(
key="system_rbfwupdate", key="system_rbfwupdate",
name="RouterBoard Firmware Update", name="RouterBoard firmware update",
ha_group="System", ha_group="System",
data_path="routerboard", data_path="routerboard",
data_attribute="current-firmware", data_attribute="current-firmware",