Skip to content

Commit

Permalink
Add gHome state update on INTERIOR_BLIND
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfire84 committed Jan 23, 2020
1 parent 33bebd4 commit 4b3d867
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,11 @@ const sendAlexaState = async(user, device) => {
// Per-device type send-state configuration, can enable/ disable Alexa and/ or Google Home
if (device.displayCategories.indexOf("CONTACT_SENSOR") > -1) {
enableDevTypeStateReport = true;
sendGoogleStateUpdate = true;
//sendGoogleStateUpdate = true;
}
else if (device.displayCategories.indexOf("INTERIOR_BLIND") > -1) {
enableDevTypeStateReport = true;
sendGoogleStateUpdate = true;
}
else if (device.displayCategories.indexOf("EXTERNAL_BLIND") > -1) {
enableDevTypeStateReport = true;
Expand Down

0 comments on commit 4b3d867

Please sign in to comment.