Added a computed variable to calculate the appropriate brightness for the automatic lights.

Signed-off-by: Chris Hasson <hassoncs@gmail.com>