Event trigger by name now won't trigger disabled events.
4 using System.Collections.Generic;
5 using System.Diagnostics;
7 using System.Runtime.Serialization;
9 using System.Threading.Tasks;
11 namespace SharpDisplayManager
15 [AttributeObject(Id = "Cec.Scan", Name = "CEC Scan", Description = "Scan devices on your CEC HDMI network.")]
16 class ActionCecScan : SharpLib.Ear.Action
18 protected override async Task DoExecute()
20 if (Cec.Client.Static == null)
22 Trace.WriteLine("WARNING: No CEC client installed.");
26 Cec.Client.Static.Scan();