Files
core/homeassistant/components/sia/strings.json
T
Eduard van Valkenburg 0bba0f07ac Add SIA Alarm systems (#36625)
* initial commit of SIA integration

* translations

* moved reactions to file, typed everything

* fixed no-else-return 3 times

* refactored config and fix coverage of test

* fix requirements_test

* elimated another platform

* forgot some mentions of sensor

* updated config flow steps, fixed restore and small edits

* fixed pylint

* updated config_flow with better schema, small fixes from review

* final comment and small legibility enhancements

* small fix for pylint

* fixed init

* fixes for botched rebase

* fixed port string

* updated common strings

* rebuild component with eventbus

* fixed pylint and tests

* updates based on review by @bdraco

* updates based on new version of package and reviews

* small updates with latest package

* added raise from

* deleted async_setup from test

* fixed tests

* removed unused code from addititional account step

* fixed typo in strings

* clarification and update to update_data func

* added iot_class to manifest

* fixed entity and unique id setup

* small fix in tests

* improved unique_id semantics and load/unload functions

* added typing in order to fix mypy

* further fixes for typing

* final fixes for mypy

* adding None return types

* fix hub DR identifier

* rebased, added DeviceInfo

* rewrite to clean up and make it easier to read

* replaced functions with format for id and name

* renamed tracker remover small fix in state.setter

* improved readibility of state.setter

* no more state.setter and small updates

* mypy fix

* fixed and improved config flow

* added fixtures to test and other cleaner test code

* removed timeband from config, will reintro in a options flow

* removed timeband from tests

* added options flow for zones and timestamps

* removed type ignore

* replaced mapping with collections.abc
2021-05-24 08:48:28 +02:00

51 lines
2.1 KiB
JSON

{
"title": "SIA Alarm Systems",
"config": {
"step": {
"user": {
"data": {
"port": "[%key:common::config_flow::data::port%]",
"protocol": "Protocol",
"account": "Account ID",
"encryption_key": "Encryption Key",
"ping_interval": "Ping Interval (min)",
"zones": "Number of zones for the account",
"additional_account": "Additional accounts"
},
"title": "Create a connection for SIA based alarm systems."
},
"additional_account": {
"data": {
"account": "[%key:component::sia::config::step::user::data::account%]",
"encryption_key": "[%key:component::sia::config::step::user::data::encryption_key%]",
"ping_interval": "[%key:component::sia::config::step::user::data::ping_interval%]",
"zones": "[%key:component::sia::config::step::user::data::zones%]",
"additional_account": "[%key:component::sia::config::step::user::data::additional_account%]"
},
"title": "Add another account to the current port."
}
},
"error": {
"invalid_key_format": "The key is not a hex value, please use only 0-9 and A-F.",
"invalid_key_length": "The key is not the right length, it has to be 16, 24 or 32 characters hex characters.",
"invalid_account_format": "The account is not a hex value, please use only 0-9 and A-F.",
"invalid_account_length": "The account is not the right length, it has to be between 3 and 16 characters.",
"invalid_ping": "The ping interval needs to be between 1 and 1440 minutes.",
"invalid_zones": "There needs to be at least 1 zone.",
"unknown": "[%key:common::config_flow::error::unknown%]"
}
},
"options": {
"step": {
"options": {
"data": {
"ignore_timestamps": "Ignore the timestamp check of the SIA events",
"zones": "[%key:component::sia::config::step::user::data::zones%]"
},
"description": "Set the options for account: {account}",
"title": "Options for the SIA Setup."
}
}
}
}