* refactor habitica sensors, add strings and icon translations * Change sensor names * remove max_health as it is a fixed value * remove SENSOR_TYPES * removed wrong sensor * Move Data coordinator to separate module * add coordinator.py to coveragerc * add deprecation warning for task sensors * remove unused imports and logger * Revert "add deprecation warning for task sensors" This reverts commit9e58053f3b
. * Update homeassistant/components/habitica/strings.json Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update homeassistant/components/habitica/strings.json Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Revert "Move Data coordinator to separate module" This reverts commitf5c8c3c886
. * Revert "add coordinator.py to coveragerc" This reverts commit8ae07a4786
. * rename Mana max. to Max. mana * deprecation for yaml import * move SensorType definition before TASK_TYPES * Revert "deprecation for yaml import" This reverts commit2a1d58ee5f
. --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
51 lines
1 KiB
JSON
51 lines
1 KiB
JSON
{
|
|
"entity": {
|
|
"sensor": {
|
|
"display_name": {
|
|
"default": "mdi:account-circle"
|
|
},
|
|
"health": {
|
|
"default": "mdi:heart",
|
|
"state": {
|
|
"0": "mdi:skull-outline"
|
|
}
|
|
},
|
|
"health_max": {
|
|
"default": "mdi:heart"
|
|
},
|
|
"mana": {
|
|
"default": "mdi:flask",
|
|
"state": {
|
|
"0": "mdi:flask-empty-outline"
|
|
}
|
|
},
|
|
"mana_max": {
|
|
"default": "mdi:flask"
|
|
},
|
|
"experience": {
|
|
"default": "mdi:star-four-points"
|
|
},
|
|
"experience_max": {
|
|
"default": "mdi:star-four-points"
|
|
},
|
|
"level": {
|
|
"default": "mdi:crown-circle"
|
|
},
|
|
"gold": {
|
|
"default": "mdi:sack"
|
|
},
|
|
"class": {
|
|
"default": "mdi:sword",
|
|
"state": {
|
|
"warrior": "mdi:sword",
|
|
"healer": "mdi:shield",
|
|
"wizard": "mdi:wizard-hat",
|
|
"rogue": "mdi:ninja"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"api_call": "mdi:console"
|
|
}
|
|
}
|