mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
Added a consistent "Entity ID tip" block and normalized all example entity IDs to the `<home_name>` placeholder across user docs. Updated YAML and example references to current entity naming (e.g., `sensor.<home_name>_current_electricity_price`, `sensor.<home_name>_price_today`, `sensor.<home_name>_today_s_price_volatility`, `binary_sensor.<home_name>_best_price_period`, etc.). Refreshed automation examples to use language-independent attributes (e.g. `price_volatility`) and improved robustness. Aligned ApexCharts examples to use `sensor.<home_name>_chart_metadata` and corrected references for tomorrow data availability. Changed files: - docs/user/docs/actions.md - docs/user/docs/automation-examples.md - docs/user/docs/chart-examples.md - docs/user/docs/configuration.md - docs/user/docs/dashboard-examples.md - docs/user/docs/dynamic-icons.md - docs/user/docs/faq.md - docs/user/docs/icon-colors.md - docs/user/docs/period-calculation.md - docs/user/docs/sensors.md Impact: Clearer, language-independent examples that reduce confusion and prevent brittle automations; easier copy/paste adaptation across setups; more accurate guidance for chart configuration and period/volatility usage. |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| static | ||
| versioned_docs | ||
| .gitignore | ||
| docusaurus.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sidebars.ts | ||
| tsconfig.json | ||
| versions.json | ||
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.