Need help with mochad config

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

I have tried this:

mochad:
host: 192.168.2.17
port: 1099
devices:
- 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!