Compare commits

..

1 Commits

View File

@@ -10,18 +10,20 @@
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Zipato/Phileo PH-PSE02-EU Siren
* Dlink DCH-Z510
*
* Author: fuzzysb
* Date: 2015-01-05
*/
preferences {
preferences {
input "defaultSound", "enum", title: "Default Sound to use for the Siren?", options: ["Emergency","FireAlarm","Ambulance","PoliceCar","DoorChime"], required: false, defaultValue: "Emergency"
}
metadata {
definition (name: "Zipato PH-PSE02-EU", namespace: "fuzzysb", author: "Stuart Buchanan") {
definition (name: "Dlink DCH-Z510", namespace: "fuzzysb", author: "Stuart Buchanan") {
capability "Actuator"
capability "Alarm"
capability "Switch"
@@ -162,7 +164,6 @@ def both() {
on()
}
def on() {
log.debug("Sounding Siren")
switch ( settings.defaultSound ) {