193 lines
5.6 KiB
JSON
193 lines
5.6 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name} ({host})",
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"ssl": "[%key:common::config_flow::data::ssl%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"2sa": {
|
|
"title": "Synology DSM: two-step authentication",
|
|
"data": {
|
|
"otp_code": "Code"
|
|
}
|
|
},
|
|
"link": {
|
|
"description": "Do you want to set up {name} ({host})?",
|
|
"data": {
|
|
"ssl": "[%key:common::config_flow::data::ssl%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "Reauthenticate Synology DSM",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"missing_data": "Missing data: please retry later or an other configuration",
|
|
"otp_failed": "Two-step authentication failed, retry with a new pass code",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"no_mac_address": "The MAC address is missing from the zeroconf record",
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reconfigure_successful": "Re-configuration was successful"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"scan_interval": "Minutes between scans",
|
|
"timeout": "Timeout (seconds)",
|
|
"snap_profile_type": "Quality level of camera snapshots (0:high 1:medium 2:low)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"binary_sensor": {
|
|
"disk_below_remain_life_thr": {
|
|
"name": "Below min remaining life"
|
|
},
|
|
"disk_exceed_bad_sector_thr": {
|
|
"name": "Exceeded max bad sectors"
|
|
},
|
|
"status": {
|
|
"name": "Security status"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"cpu_15min_load": {
|
|
"name": "CPU load average (15 min)"
|
|
},
|
|
"cpu_1min_load": {
|
|
"name": "CPU load average (1 min)"
|
|
},
|
|
"cpu_5min_load": {
|
|
"name": "CPU load average (5 min)"
|
|
},
|
|
"cpu_other_load": {
|
|
"name": "CPU utilization (other)"
|
|
},
|
|
"cpu_system_load": {
|
|
"name": "CPU utilization (system)"
|
|
},
|
|
"cpu_total_load": {
|
|
"name": "CPU utilization (total)"
|
|
},
|
|
"cpu_user_load": {
|
|
"name": "CPU utilization (user)"
|
|
},
|
|
"disk_smart_status": {
|
|
"name": "Status (smart)"
|
|
},
|
|
"disk_status": {
|
|
"name": "Status"
|
|
},
|
|
"disk_temp": {
|
|
"name": "[%key:component::sensor::entity_component::temperature::name%]"
|
|
},
|
|
"memory_available_real": {
|
|
"name": "Memory available (real)"
|
|
},
|
|
"memory_available_swap": {
|
|
"name": "Memory available (swap)"
|
|
},
|
|
"memory_cached": {
|
|
"name": "Memory cached"
|
|
},
|
|
"memory_real_usage": {
|
|
"name": "Memory usage (real)"
|
|
},
|
|
"memory_size": {
|
|
"name": "Memory size"
|
|
},
|
|
"memory_total_real": {
|
|
"name": "Memory total (real)"
|
|
},
|
|
"memory_total_swap": {
|
|
"name": "Memory total (swap)"
|
|
},
|
|
"network_down": {
|
|
"name": "Download throughput"
|
|
},
|
|
"network_up": {
|
|
"name": "Upload throughput"
|
|
},
|
|
"temperature": {
|
|
"name": "[%key:component::sensor::entity_component::temperature::name%]"
|
|
},
|
|
"uptime": {
|
|
"name": "Last boot"
|
|
},
|
|
"volume_disk_temp_avg": {
|
|
"name": "Average disk temp"
|
|
},
|
|
"volume_disk_temp_max": {
|
|
"name": "Maximum disk temp"
|
|
},
|
|
"volume_percentage_used": {
|
|
"name": "Volume used"
|
|
},
|
|
"volume_size_total": {
|
|
"name": "Total size"
|
|
},
|
|
"volume_size_used": {
|
|
"name": "Used space"
|
|
},
|
|
"volume_status": {
|
|
"name": "Status"
|
|
}
|
|
},
|
|
"switch": {
|
|
"home_mode": {
|
|
"name": "Home mode"
|
|
}
|
|
},
|
|
"update": {
|
|
"update": {
|
|
"name": "DSM update"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"reboot": {
|
|
"name": "Reboot",
|
|
"description": "Reboots the NAS. This service is deprecated and will be removed in future release. Please use the corresponding button entity.",
|
|
"fields": {
|
|
"serial": {
|
|
"name": "Serial",
|
|
"description": "Serial of the NAS to reboot; required when multiple NAS are configured."
|
|
}
|
|
}
|
|
},
|
|
"shutdown": {
|
|
"name": "Shutdown",
|
|
"description": "Shutdowns the NAS. This service is deprecated and will be removed in future release. Please use the corresponding button entity.",
|
|
"fields": {
|
|
"serial": {
|
|
"name": "[%key:component::synology_dsm::services::reboot::fields::serial::name%]",
|
|
"description": "Serial of the NAS to shutdown; required when multiple NAS are configured."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|