mirror of https://github.com/home-assistant/core
59 lines
2.3 KiB
JSON
59 lines
2.3 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"mac": "MAC address",
|
|
"broadcast_address": "Broadcast address",
|
|
"broadcast_port": "Broadcast port"
|
|
},
|
|
"data_description": {
|
|
"mac": "MAC address of the device to wake up.",
|
|
"broadcast_address": "The IP address of the host to send the magic packet to. Defaults to `255.255.255.255` and is normally not changed.",
|
|
"broadcast_port": "The port to send the magic packet to. Defaults to `9` and is normally not changed."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
},
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"broadcast_address": "[%key:component::wake_on_lan::config::step::user::data::broadcast_address%]",
|
|
"broadcast_port": "[%key:component::wake_on_lan::config::step::user::data::broadcast_port%]"
|
|
},
|
|
"data_description": {
|
|
"broadcast_address": "[%key:component::wake_on_lan::config::step::user::data_description::broadcast_address%]",
|
|
"broadcast_port": "[%key:component::wake_on_lan::config::step::user::data_description::broadcast_port%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"send_magic_packet": {
|
|
"name": "Send magic packet",
|
|
"description": "Sends a 'magic packet' to wake up a device with 'Wake-On-LAN' capabilities.",
|
|
"fields": {
|
|
"mac": {
|
|
"name": "[%key:component::wake_on_lan::config::step::user::data::mac%]",
|
|
"description": "[%key:component::wake_on_lan::config::step::user::data_description::mac%]"
|
|
},
|
|
"broadcast_address": {
|
|
"name": "[%key:component::wake_on_lan::config::step::user::data::broadcast_address%]",
|
|
"description": "[%key:component::wake_on_lan::config::step::user::data_description::broadcast_address%]"
|
|
},
|
|
"broadcast_port": {
|
|
"name": "[%key:component::wake_on_lan::config::step::user::data::broadcast_port%]",
|
|
"description": "[%key:component::wake_on_lan::config::step::user::data_description::broadcast_port%]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|