84 lines
3.2 KiB
JSON
84 lines
3.2 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Credentials for FYTA API",
|
|
"description": "Provide username and password to connect to the FYTA server",
|
|
"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%]",
|
|
"password_error": "Invalid password",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"scientific_name": {
|
|
"name": "Scientific name"
|
|
},
|
|
"plant_status": {
|
|
"name": "Plant state",
|
|
"state": {
|
|
"too_low": "Too low",
|
|
"low": "Low",
|
|
"perfect": "Perfect",
|
|
"high": "High",
|
|
"too_high": "Too high"
|
|
}
|
|
},
|
|
"temperature_status": {
|
|
"name": "Temperature state",
|
|
"state": {
|
|
"too_low": "[%key:component::fyta::entity::sensor::plant_status::state::too_low%]",
|
|
"low": "[%key:component::fyta::entity::sensor::plant_status::state::low%]",
|
|
"perfect": "[%key:component::fyta::entity::sensor::plant_status::state::perfect%]",
|
|
"high": "[%key:component::fyta::entity::sensor::plant_status::state::high%]",
|
|
"too_high": "[%key:component::fyta::entity::sensor::plant_status::state::too_high%]"
|
|
}
|
|
},
|
|
"light_status": {
|
|
"name": "Light state",
|
|
"state": {
|
|
"too_low": "[%key:component::fyta::entity::sensor::plant_status::state::too_low%]",
|
|
"low": "[%key:component::fyta::entity::sensor::plant_status::state::low%]",
|
|
"perfect": "[%key:component::fyta::entity::sensor::plant_status::state::perfect%]",
|
|
"high": "[%key:component::fyta::entity::sensor::plant_status::state::high%]",
|
|
"too_high": "[%key:component::fyta::entity::sensor::plant_status::state::too_high%]"
|
|
}
|
|
},
|
|
"moisture_status": {
|
|
"name": "Moisture state",
|
|
"state": {
|
|
"too_low": "[%key:component::fyta::entity::sensor::plant_status::state::too_low%]",
|
|
"low": "[%key:component::fyta::entity::sensor::plant_status::state::low%]",
|
|
"perfect": "[%key:component::fyta::entity::sensor::plant_status::state::perfect%]",
|
|
"high": "[%key:component::fyta::entity::sensor::plant_status::state::high%]",
|
|
"too_high": "[%key:component::fyta::entity::sensor::plant_status::state::too_high%]"
|
|
}
|
|
},
|
|
"salinity_status": {
|
|
"name": "Salinity state",
|
|
"state": {
|
|
"too_low": "[%key:component::fyta::entity::sensor::plant_status::state::too_low%]",
|
|
"low": "[%key:component::fyta::entity::sensor::plant_status::state::low%]",
|
|
"perfect": "[%key:component::fyta::entity::sensor::plant_status::state::perfect%]",
|
|
"high": "[%key:component::fyta::entity::sensor::plant_status::state::high%]",
|
|
"too_high": "[%key:component::fyta::entity::sensor::plant_status::state::too_high%]"
|
|
}
|
|
},
|
|
"light": {
|
|
"name": "Light"
|
|
},
|
|
"salinity": {
|
|
"name": "Salinity"
|
|
}
|
|
}
|
|
}
|
|
}
|