If you wish to smoke it is courteous to ask whether it is acceptable. If you are in doubt, only smoke if others around you do so. Although the Balinese are Hindu, their religion is very different from that of India. They have a caste system, but there are no untouchables and occupation is not governed by caste. Offerings play a significant role in Balinese life as they appease the spirits and thus bring prosperity and good health to the family.
Festivals are another great occasion for appeasing the gods.
If attending a religious ceremony or visiting a temple, always wear a sarong and sash. Do not walk in front of people praying. Do not use flash cameras or push your camera into the priest's face. Never sit higher than the priest or the offerings. At cremations, do not get in the way of the attendees.