Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
"off": "[%key:state::device_tracker::not_home%]",
"on": "[%key:state::device_tracker::home%]"
},
"problem": {
"off": "[%key:state::plant::ok%]",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be under binary_sensor ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, plant became the master since this didn't exist at the time, but this would have been the master otherwise. I'll reorganize it.

"on": "[%key:state::plant::problem%]"
},
"safety": {
"off": "Safe",
"on": "Unsafe"
Expand Down
1 change: 1 addition & 0 deletions src/util/hass-util.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
return activated ? 'mdi:crop-portrait' : 'mdi:vibrate';
case 'gas':
case 'power':
case 'problem':
case 'safety':
case 'smoke':
return activated ? 'mdi:verified' : 'mdi:alert';
Expand Down