mirror of
https://github.com/excaliburpartners/OmniLinkBridge
synced 2024-12-22 10:42:24 +00:00
1.1.12 - MQTT area basic_state now includes arm_vacation to align with changes to Home Assistant
This commit is contained in:
parent
3b86dd6a3a
commit
41330b9bf4
|
@ -6,9 +6,9 @@
|
|||
arm_home,
|
||||
arm_away,
|
||||
arm_night,
|
||||
arm_vacation,
|
||||
// The below aren't supported by Home Assistant
|
||||
arm_home_instant,
|
||||
arm_night_delay,
|
||||
arm_vacation
|
||||
arm_night_delay
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,8 +62,9 @@ namespace OmniLinkBridge.MQTT
|
|||
case enuSecurityMode.DayInst:
|
||||
return "armed_home";
|
||||
case enuSecurityMode.Away:
|
||||
case enuSecurityMode.Vacation:
|
||||
return "armed_away";
|
||||
case enuSecurityMode.Vacation:
|
||||
return "armed_vacation";
|
||||
case enuSecurityMode.Off:
|
||||
default:
|
||||
return "disarmed";
|
||||
|
|
|
@ -56,10 +56,10 @@ namespace OmniLinkBridge.MQTT
|
|||
{ AreaCommands.arm_home, enuUnitCommand.SecurityDay },
|
||||
{ AreaCommands.arm_away, enuUnitCommand.SecurityAway },
|
||||
{ AreaCommands.arm_night, enuUnitCommand.SecurityNight },
|
||||
{ AreaCommands.arm_vacation, enuUnitCommand.SecurityVac },
|
||||
// The below aren't supported by Home Assistant
|
||||
{ AreaCommands.arm_home_instant, enuUnitCommand.SecurityDyi },
|
||||
{ AreaCommands.arm_night_delay, enuUnitCommand.SecurityNtd },
|
||||
{ AreaCommands.arm_vacation, enuUnitCommand.SecurityVac },
|
||||
{ AreaCommands.arm_night_delay, enuUnitCommand.SecurityNtd }
|
||||
};
|
||||
|
||||
private void ProcessAreaReceived(clsArea area, Topic command, string payload)
|
||||
|
|
|
@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Excalibur Partners, LLC")]
|
||||
[assembly: AssemblyProduct("OmniLinkBridge")]
|
||||
[assembly: AssemblyCopyright("Copyright © Excalibur Partners, LLC 2021")]
|
||||
[assembly: AssemblyCopyright("Copyright © Excalibur Partners, LLC 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.1.11.0")]
|
||||
[assembly: AssemblyFileVersion("1.1.11.0")]
|
||||
[assembly: AssemblyVersion("1.1.12.0")]
|
||||
[assembly: AssemblyFileVersion("1.1.12.0")]
|
||||
|
|
|
@ -7,7 +7,7 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Excalibur Partners, LLC")]
|
||||
[assembly: AssemblyProduct("OmniLinkBridgeTest")]
|
||||
[assembly: AssemblyCopyright("Copyright © Excalibur Partners, LLC 2020")]
|
||||
[assembly: AssemblyCopyright("Copyright © Excalibur Partners, LLC 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@ SUB omnilink/areaX/state
|
|||
string triggered, arming, armed_night, armed_night_delay, armed_home, armed_home_instant, armed_away, armed_vacation, disarmed
|
||||
|
||||
SUB omnilink/areaX/basic_state
|
||||
string triggered, arming, armed_night, armed_home, armed_away, disarmed
|
||||
string triggered, arming, armed_night, armed_home, armed_away, armed_vacation, disarmed
|
||||
|
||||
SUB omnilink/areaX/json_state
|
||||
string json
|
||||
|
|
Loading…
Reference in a new issue