Skip to content

Commit

Permalink
3.7.1 work
Browse files Browse the repository at this point in the history
  • Loading branch information
dwainscheeren committed May 2, 2024
1 parent 91add83 commit bb9ef1a
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ changelog.MD
dwains-dashboard copy/
src-backup-3.6/
custom_components/dwains_dashboard/js/dwains-dashboard.js.map
custom_components/dwains_dashboard/js/dwains-dashboard.js.map
2 changes: 2 additions & 0 deletions custom_components/dwains_dashboard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ async def ws_handle_edit_area_bool_value(
vol.Optional("v2Mode"): bool,
vol.Optional("disableSensorGraph"): bool,
vol.Optional("weatherEntity"): str,
vol.Optional("invertCover"): bool,
vol.Optional("alarmEntity"): str,
}
Expand All @@ -471,6 +472,7 @@ async def ws_handle_edit_homepage_header(
"disable_welcome_message": msg["disableWelcomeMessage"],
"v2_mode": msg["v2Mode"],
"disable_sensor_graph": msg["disableSensorGraph"],
"invert_cover": msg["invertCover"],
"weather_entity": msg["weatherEntity"],
"alarm_entity": msg["alarmEntity"],
})
Expand Down
2 changes: 1 addition & 1 deletion custom_components/dwains_dashboard/const.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DOMAIN = "dwains_dashboard"
VERSION = "3.7.0"
VERSION = "3.7.1"
51 changes: 35 additions & 16 deletions custom_components/dwains_dashboard/js/dwains-dashboard.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/dwains_dashboard/js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dwains-dashboard",
"private": true,
"version": "3.7.0",
"version": "3.7.1",
"description": "dwains-dashboard",
"scripts": {
"build": "webpack --mode=production",
Expand Down
5 changes: 5 additions & 0 deletions custom_components/dwains_dashboard/js/src/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const translations = {
greeting_evening: 'Good evening',
v2_mode: 'Enable Dwains Dashboard v2 mode (layout)',
disable_sensor_graph: 'Disable show sensor as graph',
invert_cover: 'Invert Cover',
},
editor: {
lovelace_card: 'Lovelace Card',
Expand Down Expand Up @@ -102,12 +103,16 @@ const translations = {
turn_all_off: 'Turn all off',
on: 'on',
open: 'open',
closed: 'closed',
cover: 'Cover',
light: 'Light',
climate: 'Climate',
sensor: 'Sensor',
binary_sensor: 'Binary Sensor',
media_player: 'Media player',
garage: 'Garage',
shutter: 'Shutter',
running: 'Running',
remote: 'Remote',
scene: 'Scene',
number: 'Number',
Expand Down
2 changes: 1 addition & 1 deletion custom_components/dwains_dashboard/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"dependencies": ["lovelace", "http", "frontend"],
"codeowners": ["@dwainscheeren"],
"config_flow": true,
"version": "3.7.0",
"version": "3.7.1",
"iot_class": "calculated"
}

0 comments on commit bb9ef1a

Please sign in to comment.