mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
Consistent naming with the period_count_* family introduced in the previous commit (period_count_total, period_count_today, period_count_tomorrow). periods_remaining was the last attribute in the navigation triplet using the old plural form. Renamed to period_count_remaining to follow the established pattern: all countable period metrics use the period_count_* prefix. BREAKING CHANGE: periods_remaining renamed to period_count_remaining. Impact: All four period count attributes now share the same prefix (period_count_total, period_count_today, period_count_tomorrow, period_count_remaining), making automation templates more predictable. |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| static | ||
| versioned_docs | ||
| versioned_sidebars | ||
| .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.