v0.8.1: Macros fixes
NOTE: To force home assistant to download the new frontend files immediately, clear your browser cache after downloading the update and restarting home assistant. To clear cache on the companion app, go to Settings -> Companion app -> Debugging -> Reset frontend cache. After that, I find I still need to go to the calorie tracker panel and swipe down to reload and then the new files are fetched.
v0.8.1:
- Fixes calculation of remaining calories for the sensor state and attribute
- Fixes macros display for the fetch_data service
v0.8.0: Macros
- Adds the ability to track macros (Must be enabled)
- Enable macro tracking in the settings menu in the calorie tracker side panel
- Adds body weight based goals
- A good rule of thumb for goals is to cut 0.5-1% body weight per week (or gain .0.25-0.5% if gaining muscle)
- These goals provide good daily targets even as your weight and/or body fat percent change
- Modified all goal terminology. New goals available:
- Fixed Intake (Only food calories count towards goal)
- Fixed Net Calories (Food minus logged exercise counts towards goal)
- Fixed Deficit (Daily net calorie goal calculated based on your estimated baseline calorie burn)
- Fixed Surplus (Daily net calorie goal calculated based on your estimated baseline calorie burn)
- Lose Percent Body Weight Per Week
- Gain Percent Body Weight Per Week
- Adds support for Home Assistant Core versions 2024.4.1 and later