core/homeassistant/components/ecobee/strings.json

157 lines
5.4 KiB
JSON
Raw Normal View History

Add config flow to ecobee (#26634) * Add basic config flow * Fix json files * Update __init__.py * Fix json errors * Move constants to const.py * Add ecobee to generated config flows * Update config_flow for updated API * Update manifest to include new dependencies Bump pyecobee, add aiofiles. * Update constants for ecobee * Modify ecobee setup to use config flow * Bump dependency * Update binary_sensor to use config_entry * Update sensor to use config_entry * Update __init__.py * Update weather to use config_entry * Update notify.py * Update ecobee constants * Update climate to use config_entry * Avoid a breaking change on ecobee services * Store api key from old config entry * Allow unloading of config entry * Show user a form before import * Refine import flow * Update strings.json to remove import step Not needed. * Move third party imports to top of module * Remove periods from end of log messages * Make configuration.yaml config optional * Remove unused strings * Reorganize config flow * Remove unneeded requirement * No need to store API key * Update async_unload_entry * Clean up if/else statements * Update requirements_all.txt * Fix config schema * Update __init__.py * Remove check for DATA_ECOBEE_CONFIG * Remove redundant check * Add check for DATA_ECOBEE_CONFIG * Change setup_platform to async * Fix state unknown and imports * Change init step to user * Have import step raise specific exceptions * Rearrange try/except block in import flow * Convert update() and refresh() to coroutines ...and update platforms to use async_update coroutine. * Finish converting init to async * Preliminary tests * Test full implementation * Update test_config_flow.py * Update test_config_flow.py * Add self to codeowners * Update test_config_flow.py * Use MockConfigEntry * Update test_config_flow.py * Update CODEOWNERS * pylint fixes * Register services under ecobee domain Breaking change! * Pylint fixes * Pylint fixes * Pylint fixes * Move service strings to ecobee domain * Fix log message capitalization * Fix import formatting * Update .coveragerc * Add __init__ to coveragerc * Add option flow test * Update .coveragerc * Act on updated options * Revert "Act on updated options" This reverts commit 56b0a859f2e3e80b6f4c77a8f784a2b29ee2cce9. * Remove hold_temp from climate * Remove hold_temp and options from init * Remove options handler from config flow * Remove options strings * Remove options flow test * Remove hold_temp constants * Fix climate tests * Pass api key to user step in import flow * Update test_config_flow.py Ensure that the import step calls the user step with the user's api key as user input if importing from ecobee.conf/validating imported keys fails.
2019-09-25 20:38:21 +00:00
{
"config": {
"step": {
"user": {
"description": "Please enter the API key obtained from ecobee.com.",
"data": {
"api_key": "[%key:common::config_flow::data::api_key%]"
}
},
"authorize": {
2021-03-11 21:18:16 +00:00
"description": "Please authorize this app at https://www.ecobee.com/consumerportal/index.html with PIN code:\n\n{pin}\n\nThen, press Submit."
}
},
"error": {
"pin_request_failed": "Error requesting PIN from ecobee; please verify API key is correct.",
"token_request_failed": "Error requesting tokens from ecobee; please try again."
},
"abort": {
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
Add config flow to ecobee (#26634) * Add basic config flow * Fix json files * Update __init__.py * Fix json errors * Move constants to const.py * Add ecobee to generated config flows * Update config_flow for updated API * Update manifest to include new dependencies Bump pyecobee, add aiofiles. * Update constants for ecobee * Modify ecobee setup to use config flow * Bump dependency * Update binary_sensor to use config_entry * Update sensor to use config_entry * Update __init__.py * Update weather to use config_entry * Update notify.py * Update ecobee constants * Update climate to use config_entry * Avoid a breaking change on ecobee services * Store api key from old config entry * Allow unloading of config entry * Show user a form before import * Refine import flow * Update strings.json to remove import step Not needed. * Move third party imports to top of module * Remove periods from end of log messages * Make configuration.yaml config optional * Remove unused strings * Reorganize config flow * Remove unneeded requirement * No need to store API key * Update async_unload_entry * Clean up if/else statements * Update requirements_all.txt * Fix config schema * Update __init__.py * Remove check for DATA_ECOBEE_CONFIG * Remove redundant check * Add check for DATA_ECOBEE_CONFIG * Change setup_platform to async * Fix state unknown and imports * Change init step to user * Have import step raise specific exceptions * Rearrange try/except block in import flow * Convert update() and refresh() to coroutines ...and update platforms to use async_update coroutine. * Finish converting init to async * Preliminary tests * Test full implementation * Update test_config_flow.py * Update test_config_flow.py * Add self to codeowners * Update test_config_flow.py * Use MockConfigEntry * Update test_config_flow.py * Update CODEOWNERS * pylint fixes * Register services under ecobee domain Breaking change! * Pylint fixes * Pylint fixes * Pylint fixes * Move service strings to ecobee domain * Fix log message capitalization * Fix import formatting * Update .coveragerc * Add __init__ to coveragerc * Add option flow test * Update .coveragerc * Act on updated options * Revert "Act on updated options" This reverts commit 56b0a859f2e3e80b6f4c77a8f784a2b29ee2cce9. * Remove hold_temp from climate * Remove hold_temp and options from init * Remove options handler from config flow * Remove options strings * Remove options flow test * Remove hold_temp constants * Fix climate tests * Pass api key to user step in import flow * Update test_config_flow.py Ensure that the import step calls the user step with the user's api key as user input if importing from ecobee.conf/validating imported keys fails.
2019-09-25 20:38:21 +00:00
}
},
"entity": {
"number": {
"ventilator_min_type_home": {
"name": "Ventilator min time home"
},
"ventilator_min_type_away": {
"name": "Ventilator min time away"
}
}
},
"services": {
"create_vacation": {
"name": "Create vacation",
"description": "Creates a vacation on the selected thermostat. Note: start/end date and time must all be specified together for these parameters to have an effect. If start/end date and time are not specified, the vacation will start immediately and last 14 days (unless deleted earlier).",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Ecobee thermostat on which to create the vacation."
},
"vacation_name": {
"name": "Vacation name",
"description": "Name of the vacation to create; must be unique on the thermostat."
},
"cool_temp": {
"name": "Cool temperature",
"description": "Cooling temperature during the vacation."
},
"heat_temp": {
"name": "Heat temperature",
"description": "Heating temperature during the vacation."
},
"start_date": {
"name": "Start date",
"description": "Date the vacation starts in the YYYY-MM-DD format (optional, immediately if not provided along with start_time, end_date, and end_time)."
},
"start_time": {
"name": "Start time",
"description": "Time the vacation starts, in the local time of the thermostat, in the 24-hour format \"HH:MM:SS\"."
},
"end_date": {
"name": "End date",
"description": "Date the vacation ends in the YYYY-MM-DD format (optional, 14 days from now if not provided along with start_date, start_time, and end_time)."
},
"end_time": {
"name": "End time",
"description": "Time the vacation ends, in the local time of the thermostat, in the 24-hour format \"HH:MM:SS\"."
},
"fan_mode": {
"name": "Fan mode",
"description": "Fan mode of the thermostat during the vacation."
},
"fan_min_on_time": {
"name": "Fan minimum on time",
"description": "Minimum number of minutes to run the fan each hour (0 to 60) during the vacation."
}
}
},
"delete_vacation": {
"name": "Delete vacation",
"description": "Deletes a vacation on the selected thermostat.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Ecobee thermostat on which to delete the vacation."
},
"vacation_name": {
"name": "[%key:component::ecobee::services::create_vacation::fields::vacation_name::name%]",
"description": "Name of the vacation to delete."
}
}
},
"resume_program": {
"name": "Resume program",
"description": "Resumes the programmed schedule.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities to change."
},
"resume_all": {
"name": "Resume all",
"description": "Resume all events and return to the scheduled program."
}
}
},
"set_fan_min_on_time": {
"name": "Set fan minimum on time",
"description": "Sets the minimum fan on time.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "[%key:component::ecobee::services::resume_program::fields::entity_id::description%]"
},
"fan_min_on_time": {
"name": "[%key:component::ecobee::services::create_vacation::fields::fan_min_on_time::name%]",
"description": "New value of fan min on time."
}
}
},
"set_dst_mode": {
"name": "Set Daylight savings time mode",
"description": "Enables/disables automatic daylight savings time.",
"fields": {
"dst_enabled": {
"name": "Daylight savings time enabled",
"description": "Enable automatic daylight savings time."
}
}
},
"set_mic_mode": {
"name": "Set mic mode",
"description": "Enables/disables Alexa mic (only for Ecobee 4).",
"fields": {
"mic_enabled": {
"name": "Mic enabled",
"description": "Enable Alexa mic."
}
}
},
"set_occupancy_modes": {
"name": "Set occupancy modes",
"description": "Enables/disables Smart Home/Away and Follow Me modes.",
"fields": {
"auto_away": {
"name": "Auto away",
"description": "Enable Smart Home/Away mode."
},
"follow_me": {
"name": "Follow me",
"description": "Enable Follow Me mode."
}
}
}
}
}