Towards Thermodynamics of Spatiotemporal Chaos