mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-26 19:34:54 +00:00
Occupancy analytics devices bug (#297)
<!-- Thanks for contributing! Provide a description of your changes below and a general summary in the title Please look at the following checklist to ensure that your PR can be accepted quickly: --> ## Description 1. Supported new device type `NCPS` in analytics occupancy tab. 2. Fixed a bug where the devices weren't being shown. 3. removed old comment. 4. Increased size of `OccupancyEndSideBar` in medium sized screens. 5. Fixed TVOC code to read data. 6. Changed TVOC unit string to match the device. 7. Fixed data loading bug in AQI. ## Type of Change <!--- Put an `x` in all the boxes that apply: --> - [ ] ✨ New feature (non-breaking change which adds functionality) - [x] 🛠️ Bug fix (non-breaking change which fixes an issue) - [x] ❌ Breaking change (fix or feature that would cause existing functionality to change) - [ ] 🧹 Code refactor - [ ] ✅ Build configuration change - [ ] 📝 Documentation - [ ] 🗑️ Chore
This commit is contained in:
@ -26,7 +26,6 @@ class OccupancyEndSideBar extends StatelessWidget {
|
||||
const AnalyticsSidebarHeader(title: 'Presence Sensor'),
|
||||
Expanded(
|
||||
child: SizedBox(
|
||||
// height: MediaQuery.sizeOf(context).height * 0.2,
|
||||
child: PowerClampEnergyStatusWidget(
|
||||
status: [
|
||||
PowerClampEnergyStatus(
|
||||
|
||||
Reference in New Issue
Block a user