hass-core/homeassistant/components/geniushub/strings.json
GeoffAtHome 890b54e36f
Add config flow to Genius hub (#116173)
* Adding config flow

* Fix setup issues.

* Added test for config_flow

* Refactor schemas.

* Fixed ruff-format on const.py

* Added geniushub-cleint to requirements_test_all.txt

* Updates from review.

* Correct multiple logger comment errors.

* User menu rather than check box.

* Correct logger messages.

* Correct test_config_flow

* Import config entry from YAML

* Config flow integration

* Refactor genius hub test_config_flow.

* Improvements and simplification from code review.

* Correct tests

* Stop device being added twice.

* Correct validate_input.

* Changes to meet code review three week ago.

* Fix Ruff undefined error

* Update homeassistant/components/geniushub/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/geniushub/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Change case Cloud and Local to CLOUD and LOCAL.

* More from code review

* Fix

* Fix

* Update homeassistant/components/geniushub/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-21 19:57:41 +02:00

81 lines
2.5 KiB
JSON

{
"config": {
"step": {
"user": {
"title": "Genius Hub configuration",
"menu_options": {
"local_api": "Local: IP address and user credentials",
"cloud_api": "Cloud: API token"
}
},
"local_api": {
"title": "Genius Hub local configuration",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"password": "[%key:common::config_flow::data::password%]",
"username": "[%key:common::config_flow::data::username%]"
}
},
"cloud_api": {
"title": "Genius Hub cloud configuration",
"data": {
"token": "[%key:common::config_flow::data::access_token%]"
}
}
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"unknown": "[%key:common::config_flow::error::unknown%]"
}
},
"services": {
"set_zone_mode": {
"name": "Set zone mode",
"description": "Set the zone to an operating mode.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "The zone's entity_id."
},
"mode": {
"name": "[%key:common::config_flow::data::mode%]",
"description": "One of: off, timer or footprint."
}
}
},
"set_zone_override": {
"name": "Set zone override",
"description": "Overrides the zone's set point for a given duration.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "[%key:component::geniushub::services::set_zone_mode::fields::entity_id::description%]"
},
"temperature": {
"name": "Temperature",
"description": "The target temperature."
},
"duration": {
"name": "Duration",
"description": "The duration of the override. Optional, default 1 hour, maximum 24 hours."
}
}
},
"set_switch_override": {
"name": "Set switch override",
"description": "Overrides switch for a given duration.",
"fields": {
"duration": {
"name": "Duration",
"description": "[%key:component::geniushub::services::set_zone_override::fields::duration::description%]"
}
}
}
}
}