mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Remove deprecated sensors in Habitica (#36710)
This commit is contained in:
parent
6eea80f3d1
commit
554698511f
@ -88,8 +88,6 @@ Verify SSL certificate:
|
|||||||
- **Mana**: Displays the current mana points of your character (for example, "61 MP").
|
- **Mana**: Displays the current mana points of your character (for example, "61 MP").
|
||||||
- **Max. mana**: Indicates the maximum mana points your character can have at the current level (for example, "70 MP").
|
- **Max. mana**: Indicates the maximum mana points your character can have at the current level (for example, "70 MP").
|
||||||
- **Next level**: Indicates the remaining experience points needed to reach the next level (for example, "440 XP").
|
- **Next level**: Indicates the remaining experience points needed to reach the next level (for example, "440 XP").
|
||||||
- **Habits**: Shows the number of habits being tracked (for example, "4 tasks").
|
|
||||||
- **Rewards**: Displays the rewards that can be redeemed (for example, "1 task")
|
|
||||||
- **Gems**: Shows the total number of gems currently owned by your Habitica character, used for purchasing items and customizations.
|
- **Gems**: Shows the total number of gems currently owned by your Habitica character, used for purchasing items and customizations.
|
||||||
- **Mystic hourglasses**: Displays the number of mystic hourglasses earned as a subscriber, which can be redeemed for exclusive items from past events.
|
- **Mystic hourglasses**: Displays the number of mystic hourglasses earned as a subscriber, which can be redeemed for exclusive items from past events.
|
||||||
- **Strength, intelligence, constitution, perception**: Display your character's attribute points (stats). The sensors' attributes provide a breakdown of contributions from level, battle gear, class equip bonus, allocation, and buffs.
|
- **Strength, intelligence, constitution, perception**: Display your character's attribute points (stats). The sensors' attributes provide a breakdown of contributions from level, battle gear, class equip bonus, allocation, and buffs.
|
||||||
@ -383,22 +381,6 @@ actions:
|
|||||||
|
|
||||||
{% enddetails %}
|
{% enddetails %}
|
||||||
|
|
||||||
## Templating
|
|
||||||
|
|
||||||
`sensor.habitica_USER_habits` and `sensor.habitica_USER_rewards` have state attributes listing the user's respective tasks. For example, you can see this information in **{% my developer_states title="Developer Tools > States" %}** under `sensor.habitica_USER_habits` > **Attributes**, or by adding a [Markdown card](/dashboards/markdown/) to a dashboard with the following code:
|
|
||||||
|
|
||||||
{% raw %}
|
|
||||||
|
|
||||||
```jinja
|
|
||||||
{% for key, value in states.sensor.habitica_USER_habits.attributes.items() %}
|
|
||||||
{% if 'text' in value | string %}
|
|
||||||
{{ loop.index }}. {{ value.text }}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
```
|
|
||||||
|
|
||||||
{% endraw %}
|
|
||||||
|
|
||||||
## Data updates
|
## Data updates
|
||||||
|
|
||||||
This integration retrieves data from Habitica every 60 seconds to ensure timely updates.
|
This integration retrieves data from Habitica every 60 seconds to ensure timely updates.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user