synced json parser with other projects

This commit is contained in:
Tomaae 2022-03-26 01:23:24 +01:00
parent 20aadb2ec7
commit 5c8a8d4870
No known key found for this signature in database
GPG key ID: 8360BBD8A381D1C0
2 changed files with 120 additions and 85 deletions

View file

@ -8,6 +8,7 @@ PLATFORMS = [
Platform.SWITCH,
Platform.BUTTON,
]
DOMAIN = "mikrotik_router"
DEFAULT_NAME = "Mikrotik Router"
ATTRIBUTION = "Data provided by Mikrotik"
@ -56,3 +57,35 @@ CONF_SENSOR_SCRIPTS = "sensor_scripts"
DEFAULT_SENSOR_SCRIPTS = False
CONF_SENSOR_ENVIRONMENT = "sensor_environment"
DEFAULT_SENSOR_ENVIRONMENT = False
TO_REDACT = {
"ip-address",
"client-ip-address",
"address",
"active-address",
"mac-address",
"active-mac-address",
"orig-mac-address",
"port-mac-address",
"client-mac-address",
"client-id",
"active-client-id",
"eeprom",
"sfp-vendor-serial",
"gateway",
"dns-server",
"wins-server",
"ntp-server",
"caps-manager",
"serial-number",
"source",
"from-addresses",
"to-addresses",
"src-address",
"dst-address",
"username",
"password",
"caller-id",
"target",
"ssid",
}