Need help with mochad config

What is the proper yaml for adding x10 devices using mochad?

I have tried this:

port: 1099
- address: a1
name: antenna
comm_type: rf
- address: a2
name: bedroomLamp
comm_type: rf
- address: a3
name: livingroomLamp
comm_type: rf
- address: a4
name: InternetSwitch
comm_type: rf

I would also like some help with turning a light on at a specific time of day, for example at sundown.

Thanks in advance!