Non-equilibrium Thermodynamics of Piecewise Deterministic Markov Processes