You're absolutely right. Here's the README with PROPERLY closed code blocks - I'll format it exactly as it should appear in the actual file:
A custom card for Home Assistant that displays grow room environmental data in an intuitive dashboard format. Perfect for monitoring grow room conditions including temperature, humidity, VPD, CO2, and air quality metrics.
- Temperature readings from multiple sensors
- Humidity levels across different locations
- VPD (Vapor Pressure Deficit) monitoring
- CO2 concentration tracking
- Air quality measurements (VOC, NOx, PM levels)
- Visual trend indicators
- Tabbed interface
- Responsive grid layout
- Ensure HACS is installed
- Add this repository to HACS:
- Click HACS in your Home Assistant sidebar
- Go to "Frontend"
- Click menu (3 dots) in top right
- Select "Custom repositories"
- Add
https://github.com/legacygrow/grow-sensor-card - Select "Lovelace" category
- Install "Grow Sensor Card"
- Refresh your browser cache
- Download
grow-sensor-card.js - Copy to
config/wwwdirectory - Add to
configuration.yaml:
lovelace:
resources:
- url: /local/grow-sensor-card.js
type: moduleAdd to your dashboard:
type: 'custom:grow-sensor-card'
entities:
temperature:
left_back: sensor.left_back_temperature
middle_canopy: sensor.middle_canopy_temperature
left_front: sensor.left_front_temperature
right_back: sensor.right_back_temperature
humidity:
f1_scd41: sensor.f1_scd41_humidity
middle: sensor.middle_humidity
left: sensor.left_humidity
hepa: sensor.hepa_humidity
vpd:
f1_scd41: sensor.f1_scd41_vpd
middle: sensor.middle_vpd
left: sensor.left_vpd
right: sensor.right_vpd
co2:
f1_scd41: sensor.f1_scd41_co2
middle: sensor.middle_co2
left: sensor.left_co2
air_quality:
voc: sensor.voc
nox: sensor.nox
pm25: sensor.pm25
thresholds:
temperature: 24
humidity: 75
vpd: 0.8
co2: 1200| Option | Type | Required | Description |
|---|---|---|---|
| entities | object | yes | Your sensor entities |
| thresholds | object | yes | Alert thresholds |
Each sensor category needs entity IDs:
temperature:
location_name: sensor.entity_id
humidity:
location_name: sensor.entity_idSet warning levels:
thresholds:
temperature: 24 # °C
humidity: 75 # %
vpd: 0.8 # kPa
co2: 1200 # ppm- 🌟 Star on GitHub
- 🐛 Report issues
- 🤝 Contribute to development
MIT License
Made with 🌱 by Legacy Grow
Let me know if you'd like me to provide just the raw markdown text without any formatting or if you need any adjustments to the content!