File tree Expand file tree Collapse file tree 7 files changed +40
-6
lines changed
Expand file tree Collapse file tree 7 files changed +40
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog
2+ ## [ 1.3.3] - 2026-01-01
3+ - Add support for Venus A and Venus D
4+
25## [ 1.3.2] - 2025-11-08
36- Fixed Venus 3 devices (VNSE3) working on firmware version 139
47
Original file line number Diff line number Diff line change 4242 "HMM" : 135 ,
4343 "HMN" : 135 ,
4444 "JPLS" : 135 ,
45- "VNSE3" : 0
45+ "VNSE3" : 0 ,
46+ "VNSA" : 0 ,
47+ "VNSD" : 0
4648 }
4749 }
4850}
Original file line number Diff line number Diff line change 11name : " Hame Relay"
2- version : " 1.3.2 "
2+ version : " 1.3.3 "
33slug : " hame_relay"
44description : " Connect B2500 storage to Home Assistant while keeping mobile app functionality"
55url : " https://github.com/tomquist/hame-relay"
Original file line number Diff line number Diff line change @@ -175,6 +175,19 @@ git checkout develop
175175print_info " Syncing develop with main to include release changes"
176176git merge main --no-ff -m " Sync develop with main after release v${VERSION} "
177177
178+ needs_amend=false
179+
180+ # Ensure the Home Assistant addon version is set to 'next' on develop
181+ print_info " Setting hassio-addon/config.yaml version to 'next' on develop"
182+ yq eval --inplace ' .version = "next"' hassio-addon/config.yaml
183+
184+ if ! git diff --quiet hassio-addon/config.yaml; then
185+ git add hassio-addon/config.yaml
186+ needs_amend=true
187+ else
188+ print_info " hassio-addon/config.yaml already set to 'next'"
189+ fi
190+
178191# Add new [Next] section to CHANGELOG if it doesn't exist
179192if ! grep -q " \[Next\]" CHANGELOG.md; then
180193 print_info " Adding new [Next] section to CHANGELOG.md"
@@ -184,9 +197,16 @@ if ! grep -q "\[Next\]" CHANGELOG.md; then
184197\
185198' CHANGELOG.md
186199 rm CHANGELOG.md.bak
187-
200+
188201 git add CHANGELOG.md
189- git commit -m " Add new [Next] section to CHANGELOG.md"
202+ needs_amend=true
203+ fi
204+
205+ if [ " $needs_amend " = true ]; then
206+ print_info " Amending develop sync commit with version and changelog updates"
207+ git commit --amend --no-edit
208+ else
209+ print_info " No additional updates required on develop"
190210fi
191211
192212print_info " Pushing updated develop branch"
Original file line number Diff line number Diff line change @@ -187,6 +187,12 @@ export class HameApi {
187187
188188 const data = ( await resp . json ( ) ) as HameApiResponse ;
189189
190+ if ( data . code === "4" ) {
191+ throw new Error (
192+ `Incorrect password for ${ mailbox } . Please double-check the credentials configured for the add-on and try again. (${ data . code } - ${ data . msg } )` ,
193+ ) ;
194+ }
195+
190196 if ( data . code !== "2" || ! data . token ) {
191197 throw new Error (
192198 `Unexpected API response code: ${ data . code } - ${ data . msg } ` ,
Original file line number Diff line number Diff line change @@ -367,8 +367,9 @@ class CommonHelper {
367367 return version >= 126.0 ;
368368 }
369369
370- if ( normalizedVid . startsWith ( "VNSE3" ) ) {
371- // Venus 3 devices (VNSE3) are confirmed to work starting with firmware v139.
370+ // All Venus series devices (VNSE3, VNSA, VNSD) support CommonHelper.cq encryption
371+ // starting with firmware v139.
372+ if ( normalizedVid . startsWith ( "VNS" ) ) {
372373 return version >= 139.0 ;
373374 }
374375
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ export const deviceTypes = [
1616 "HMM" ,
1717 "HMN" ,
1818 "VNSE3" ,
19+ "VNSA" ,
20+ "VNSD" ,
1921] as const ;
2022export type DeviceType = ( typeof deviceTypes ) [ number ] ;
2123
You can’t perform that action at this time.
0 commit comments