Safety devices structurally associated with lighting devices coming into action when lighting device is overloaded, e.g. thermal switch