1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

Add more info to the energy demo (#28316)

* Add more info to the energy demo

* Also add battery power
This commit is contained in:
Bram Kragten
2025-12-03 20:46:59 +01:00
committed by GitHub
parent c43d41053b
commit 46735c72ed
4 changed files with 128 additions and 9 deletions

View File

@@ -156,7 +156,9 @@ const createTestTranslation = () =>
*/
const createMasterTranslation = () =>
gulp
.src([EN_SRC, ...(mergeBackend ? [`${inBackendDir}/en.json`] : [])])
.src([EN_SRC, ...(mergeBackend ? [`${inBackendDir}/en.json`] : [])], {
allowEmpty: true,
})
.pipe(new CustomJSON(lokaliseTransform))
.pipe(new MergeJSON("en"))
.pipe(gulp.dest(workDir));