mirror of
https://github.com/home-assistant/core.git
synced 2026-09-13 12:10:22 +01:00
* Add JVC Projector Sensors - Power Status, Input * Removed commented line, removed name in icons.json * fixed icons.json file * fixed tests * Update homeassistant/components/jvc_projector/sensor.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Fixed as requested * Fixed code as requested * added fixes * Fixed sensor creation * fixed const * fixed icons * Added test for both sensors * Added ha state stest * fixed commented line and removed useless ones * Changed time FAST - SLOW to be more responsive * Rolled back to previous values 6/60 * Update sensor.py removed off * Update icons.json * Removed the Input Sensor entity * Update tests/components/jvc_projector/test_sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/jvc_projector/test_sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/jvc_projector/test_sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/jvc_projector/test_sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/jvc_projector/test_sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/jvc_projector/test_sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Updated unique id of sensor Co-authored-by: Steve Easley <steve.easley@gmail.com> * Added translation and string for Power Status * Update homeassistant/components/jvc_projector/strings.json Co-authored-by: Steve Easley <steve.easley@gmail.com> * Update homeassistant/components/jvc_projector/strings.json Co-authored-by: Steve Easley <steve.easley@gmail.com> * Update strings.json * Update strings.json added missing , --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Steve Easley <steve.easley@gmail.com>
55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
},
|
|
"data_description": {
|
|
"host": "IP address or hostname of projector",
|
|
"port": "IP port of projector (default is 20554)",
|
|
"password": "Optional password if projector is configured for one"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "[%key:common::config_flow::title::reauth%]",
|
|
"description": "Password authentication failed",
|
|
"data": {
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"error": {
|
|
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"binary_sensor": {
|
|
"jvc_power": {
|
|
"name": "[%key:component::sensor::entity_component::power::name%]"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"jvc_power_status": {
|
|
"name": "Power status",
|
|
"state": {
|
|
"standby": "[%key:common::state::standby%]",
|
|
"on": "[%key:common::state::on%]",
|
|
"warming": "Warming",
|
|
"cooling": "Cooling",
|
|
"error": "Error"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|