samuelspagl / ha_samsung_soundbar

YASSI (Yet another Samsung Soundbar integration) is a HomeAssistant integration for Samsung Soundbars.
https://ha-samsung-soundbar.vercel.app
MIT License
44 stars 2 forks source link

Add additional validation for CONF_ENTRY_MAX_VOLUME value in the setup process to be greater than zero #24

Closed samuelspagl closed 7 months ago

samuelspagl commented 8 months ago

🐛 Add additional validation for CONF_ENTRY_MAX_VOLUME value in the setup process to be greater than zero

This PR closes #19 by adding an additional validation to the CONF_ENTRY_MAX_VOLUME int value. Instead of just checking whether an int was provided, it will also check weather this int is between 1 and 100 with a default value of 100.

Changelog:

Added

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ha-samsung-soundbar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 18, 2024 10:10am
ha-samsung-soundbar-kidd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 18, 2024 10:10am