Add device status to hub service

This commit is contained in:
2022-08-17 15:58:43 -04:00
parent 30be1ee202
commit 054396d242
3 changed files with 21 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service
{
endpoints.MapHub<WeatherHub>("/weather");
endpoints.MapHub<PowerHub>("/power");
endpoints.MapHub<DeviceStatusHub>("/device-status");
endpoints.MapDefaultControllerRoute();
});
}