-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Complete rewrite in typescript - New UI - Directory restructure - New cards - Lots of breaking changes - Plans to migrate old config when migrating (See todo) * 🔨 Update config db to v2 * 📚 Clearout todos * 🔨 Add new default config * 🚑 Fix port * 🔨 Fix layout * 🔨 Remove empty title * 🔨 Revert api * 🔨 rework to previous config * 🔨 Text sizes * ⬆️ Updates * 🔨 Cleanup * 🔨 Hover for settings * 🔨 Fix login * 🔨 Adding * 🔨 handle updates better * 🔨 Cleanup * ✨ Add header * 🔨 Markdownify configuration * 🔨 Make external links to target _blank * 🔨 Configuration icons * 🔨 configuration * 🔨 Dialog and path fix * 🔨 Configuration entities * ✨ Add time, date and entities to header * 🔨 Adjust * 🔨 Font size * 🔨 cleanup * 🔨 honor date and time show config * 🔨 Tweaks * ✏️ Typo * 🔨 Default update * 🔨 Config * 🔨 formatting * 🔨 Fix edit height and overflow with popups * 🚑 Fix * 🔨 Card width and height * 🔨 Edit overlay padding * 🔨 state * 🎨 Icons * 🔨 Remove opacity * 🔨 Tweaks * 🔨 Tweak * 🔨 Fix edit view * 🔨 Small padding on markdown * 🔨 Cleanup * 🔨 Cleanups * 🚑 Fix toggle * ✏️ Typo * 🔨 Adjustments * 🔨 Allow interaction with card when not toggleable * 🔨 Restructure edits * 🔨 Rename card base * 🔨 Rename directory * 🔨 Switch round to square * 🔨 Cleanup * ⬆️ Upgrade packages * ⬆️ Upgrade api packages * 🔨 disable toggle when in edit mode * 🔨 Fix * 🚑 Fix switch * 🔨 Fix add card * 🔨 Cleanup * ⬆️ Update eslint * ⬆️ Update mui and flow-bin * ⬆️ Upgrade to latest npm * 🔨 Add key * 🔨 Update lockfile
- Loading branch information
Showing
98 changed files
with
6,801 additions
and
9,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ignore] | ||
.*/node_modules/**/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] | ||
|
||
[strict] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10.16.0 | ||
12.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# TODO | ||
|
||
- [ ] Add cards compatible with v1 | ||
- [ ] All entities previously supported | ||
- [ ] Custom icons | ||
- [ ] Get friendly_name for blank titles | ||
- [ ] Custom sizes | ||
- [ ] Fix round | ||
- [ ] Make script to upgrade config for each user that logs in with an old | ||
config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,149 +1,35 @@ | ||
{ | ||
"theme": { | ||
"custom": [ | ||
{ | ||
"name": "Midnight", | ||
"base": "dark", | ||
"overrides": { | ||
"primary": "pink", | ||
"backgrounds": { | ||
"main": "#383c45", | ||
"default": "#383c45", | ||
"card": { | ||
"on": "pink[600]", | ||
"off": "#434954", | ||
"disabled": "#7f848e", | ||
"alarm": { | ||
"home": "pink[600]", | ||
"away": "pink[600]" | ||
} | ||
} | ||
}, | ||
"text": { | ||
"light": "grey[50]", | ||
"main": "grey[100]" | ||
}, | ||
"secondary": "pink" | ||
} | ||
}, | ||
{ | ||
"name": "Forest", | ||
"base": "light", | ||
"overrides": { | ||
"backgrounds": { | ||
"main": "url(https://images.pexels.com/photos/4827/nature-forest-trees-fog.jpeg) no-repeat fixed center", | ||
"card": { | ||
"on": "lightGreen[700]", | ||
"off": "rgba(160, 200, 160, 0.6)", | ||
"alarm": { | ||
"home": "lightGreen[700]", | ||
"away": "lightGreen[700]" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
"general": { | ||
"dense_toolbar": false | ||
}, | ||
"header": { | ||
"left_outdoor_weather": { | ||
"dark_sky_icon": "sensor.dark_sky_icon", | ||
"condition": "sensor.pws_weather", | ||
"data": [ | ||
{ | ||
"entity_id": "sensor.pws_temp_c", | ||
"unit_of_measurement": "°C" | ||
}, | ||
{ | ||
"entity_id": "sensor.pws_relative_humidity", | ||
"unit_of_measurement": "%" | ||
} | ||
] | ||
}, | ||
"right_indoor": [ | ||
{ | ||
"label": "Living Room", | ||
"data": [ | ||
{ | ||
"entity_id": "sensor.dht22_01_temperature", | ||
"unit_of_measurement": "°C" | ||
}, | ||
{ | ||
"entity_id": "sensor.dht22_01_humidity", | ||
"unit_of_measurement": "%" | ||
} | ||
] | ||
} | ||
] | ||
"time_show": true, | ||
"time_military": false, | ||
"time_location": 0, | ||
"date_show": true, | ||
"date_format": "Do MMMM YYYY", | ||
"date_location": 1, | ||
"entities": [] | ||
}, | ||
"pages": [ | ||
{ | ||
"name": "Home", | ||
"icon": "home" | ||
}, | ||
{ | ||
"name": "Weather", | ||
"icon": "weather-partlycloudy" | ||
} | ||
], | ||
"items": [ | ||
{ | ||
"name": "Living Room", | ||
"name": "Welcome Group", | ||
"cards": [ | ||
{ | ||
"entity_id": "light.tv_light", | ||
"name": "TV", | ||
"icon": "lightbulb" | ||
"content": "Hi there! Thanks for using Home Panel.\n\nMake sure to read the [docs](https://timmo.dev/home-panel) to get the most out of the app.", | ||
"title": "Welcome!", | ||
"type": "markdown", | ||
"width": 3 | ||
} | ||
], | ||
"page": 1, | ||
"width": 2 | ||
}, | ||
{ | ||
"name": "Dining Room", | ||
"cards": [ | ||
{ | ||
"entity_id": "light.table_light", | ||
"icon": "ceiling-light", | ||
"name": "Table Light" | ||
} | ||
], | ||
"page": 1, | ||
"width": 2 | ||
}, | ||
{ | ||
"name": "Weather", | ||
"page": 2, | ||
"width": 8, | ||
"cards": [ | ||
{ | ||
"type": "hass", | ||
"name": "", | ||
"entity_id": "weather.dark_sky", | ||
"icon": "", | ||
"width": 3, | ||
"height": 2, | ||
"size": { | ||
"name": "", | ||
"state": "", | ||
"icon": "" | ||
} | ||
}, | ||
{ | ||
"type": "iframe", | ||
"name": "", | ||
"entity_id": "", | ||
"icon": "", | ||
"width": 4, | ||
"height": 4, | ||
"size": { | ||
"name": "", | ||
"state": "", | ||
"icon": "" | ||
}, | ||
"url": "https://embed.windy.com/embed2.html" | ||
} | ||
] | ||
"width": 3 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.