From 5622d83c3736aea695a6338f0b2bdb5bc221707c Mon Sep 17 00:00:00 2001 From: qJake Date: Wed, 18 Sep 2019 20:02:06 -0500 Subject: [PATCH] #39 Add input_boolean support --- HADotNet.CommandCenter/Controllers/SwitchTileController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/HADotNet.CommandCenter/Controllers/SwitchTileController.cs b/HADotNet.CommandCenter/Controllers/SwitchTileController.cs index 9102407..a77a3c2 100644 --- a/HADotNet.CommandCenter/Controllers/SwitchTileController.cs +++ b/HADotNet.CommandCenter/Controllers/SwitchTileController.cs @@ -25,6 +25,7 @@ private async Task PopulateSelectLists() ViewBag.Entities = (await EntityClient.GetEntities("switch")) .Union(await EntityClient.GetEntities("group")) .Union(await EntityClient.GetEntities("cover")) + .Union(await EntityClient.GetEntities("input_boolean")) .OrderBy(e => e) .Select(e => new SelectListItem(e, e)); }